Computing.Net > Forums > Linux > Gxine 0.5 can't find libjs

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Gxine 0.5 can't find libjs

Reply to Message Icon

Name: dknowledge
Date: November 18, 2005 at 20:42:35 Pacific
OS: Fedora Core 4
CPU/Ram: 256
Comment:

I'm new to Linux - Fedora, and having trouble getting gxine loaded.

I have it downloaded and when I go to configure it I get:

"checking for smjs/jsapi.h... no
checking for js/jsapi.h... no
configure: error: libjs not found"

which would imply it can't find libjs.

But when I do whereis libjs I get:
"whereis libjs
libjs: /usr/lib/libjs.so"

I assume that's the right file but gxine doesn't seem to see it.

I'm wondering if it's not looking in the right path?

Any recommendations on how I might gxine to work?

Thx

D



Sponsored Link
Ads by Google

Response Number 1
Name: eugensth
Date: November 19, 2005 at 11:05:27 Pacific
Reply:

Perhaps you should try to reinstall the library.
You might find the source code searching at www.gnu.org, or as rpm or src.rpm package on your distribution CD-s.

Or, the problem is with the path of your current installed library -ain't the standard one. In this case, when you run ./configure, should append at the command the prefix of your installation.

Read ./configure --help for informations about how to do this.

Good luck!


0

Response Number 2
Name: dknowledge
Date: November 19, 2005 at 19:31:02 Pacific
Reply:

I appreciate the recommendation...a little light though...I mean, I left the info on which path my libjs is listed in the post..."/usr/lib"....a very standard library which makes your recommendation:

"Or, the problem is with the path of your current installed library -ain't the standard one"...not exactly a good one.

As for re-installing the library, I'm not sure I'm following your logic. The file is present as I posted the "whereis" ...so why would I want to re-install the library? - seems to me that it's the program looking in the wrong path...not a misconfigured library.

Not much help there eugensth...but thanks for trying...

Anyone have some tangible insight?

D


0

Response Number 3
Name: 3Dave
Date: November 21, 2005 at 02:59:58 Pacific
Reply:

It is probably complaining that you don't have the development libraries installed. It's checking for the header file jsapi.h and not libjs.so.

Here's something I found on hte net which may help, you may need to change the mozilla version number to reflect your system:

1)Make a symlink of js directory from mozilla:
# ln -s /usr/include/mozilla-1.7.12/js /usr/include/js

2)Make a symlink of libmozjs.so to libjs.so to avoid a problem at compilation
# ln -s /usr/lib/mozilla-1.7.12/libmozjs.so /usr/lib/libjs.so


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Gxine 0.5 can't find libjs

can't find driver for motherboard www.computing.net/answers/linux/cant-find-driver-for-motherboard/17219.html

Can't find RPM package I just installed www.computing.net/answers/linux/cant-find-rpm-package-i-just-installed/2800.html

Can't Find MONO PAK Getting Tired www.computing.net/answers/linux/cant-find-mono-pak-getting-tired/2557.html