LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2007, 05:43 PM   #1
sparckis
LQ Newbie
 
Registered: Jun 2005
Posts: 24

Rep: Reputation: 15
Gxine install problem with libmozjs.so:


Hi,
I just "installed" gxine using the wepage instructions here

How do I compile xine?
Simple build instructions for beginners

Download the latest xine-lib and gxine/xine-ui tarballs, then follow these instruction. To unpack a tarball, use:

tar xfvz tarballname.tar.gz

The following instructions will install xine in /usr/local where it will be visible for all users. You need root privileges to do this on most systems.

After unpacking xine-lib, issue:

./configure
make install

***Make sure your /etc/ld.so.conf contains /usr/local/lib and continue with:

ldconfig

Now unpack your frontend (gxine or xine-ui or ...), then:

./configure
make install

Now, Line *** I didn't know what to do with. I Nedited /etc/ld.so.conf and found this
include ld.so.conf.d/*.conf

so then I added to it to make it look like this

include ld.so.conf.d/*.conf
/usr/local/lib

when i ran LDconfig I think it took it fine, but now if I try to run gxine i get

root@panther_$gxine
gxine: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory


and gxine is installed in

root@panther_$whereis gxine
gxine: /usr/local/bin/gxine /usr/local/etc/gxine /usr/local/lib/gxine


Any ideas how to get it working?

Thanks,
~Mark
 
Old 01-29-2007, 10:31 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
You need libmozjs.so installed. That library is provided by Firefox, Thunderbird, Mozilla, and xulrunner. If you install one of these programs, libmozjs.so will be installed.
 
Old 01-29-2007, 08:10 PM   #3
sparckis
LQ Newbie
 
Registered: Jun 2005
Posts: 24

Original Poster
Rep: Reputation: 15
Already using firefox.... do I need to make a link to this package or can I install it separatley?
 
Old 01-29-2007, 09:35 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Make sure the path to libmozjs.so is in your /etc/ld.so.conf file.
 
Old 01-29-2007, 09:39 PM   #5
sparckis
LQ Newbie
 
Registered: Jun 2005
Posts: 24

Original Poster
Rep: Reputation: 15
here is what I have in there so far. I'm guessing I have to add another line,

include ld.so.conf.d/*.conf


is it this?
include /usr/local/lib

~Mark
 
Old 01-29-2007, 10:14 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
To find the path, execute and enter the privileged user's password when prompted.
Code:
su -c 'find / -name libmozjs.so'
Add the path(s) you see to /etc/ld.so.conf.

For example, I get
Code:
/opt/firefox-2.0.0.1/lib/firefox-2.0.0.1/libmozjs.so
/opt/firefox-2.0.0.1/lib64/firefox-2.0.0.1/libmozjs.so
/opt/thunderbird-2.0b1/lib64/thunderbird-2.0b1/libmozjs.so
So I would add /opt/firefox-2.0.0.1/lib/firefox-2.0.0.1 and /opt/firefox-2.0.0.1/lib64/firefox-2.0.0.1.
 
Old 01-30-2007, 09:45 PM   #7
sparckis
LQ Newbie
 
Registered: Jun 2005
Posts: 24

Original Poster
Rep: Reputation: 15
okie doke,
Here is what I get out of the command
/usr/lib/esc-1.0.0/xulrunner/libmozjs.so
/usr/lib/firefox-1.5.0.9/libmozjs.so
/usr/lib/thunderbird-1.5.0.9/libmozjs.so


Now, I know I have to add these to the file, but I probably have the syntax wrong because when I place them in I still get the library not found. Here is what I have now in /etc/ld.so.conf



include ld.so.conf.d/*.conf
/usr/lib/esc-1.0.0/xulrunner/libmozjs.so
/usr/lib/firefox-1.5.0.9/libmozjs.so
/usr/lib/thunderbird-1.5.0.9/libmozjs.so

What do I have to fix?

Thanks again,
~Mark
 
Old 01-31-2007, 05:58 AM   #8
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Make /etc/ld.so.conf look like this and then execute ldconfig
Code:
include ld.so.conf.d/*.conf
/usr/lib/firefox-1.5.0.9
 
Old 01-31-2007, 10:30 PM   #9
sparckis
LQ Newbie
 
Registered: Jun 2005
Posts: 24

Original Poster
Rep: Reputation: 15
YES! It works, thanks again.

I had to add one final map and alls good

include ld.so.conf.d/*.conf
/usr/lib/firefox-1.5.0.9
/usr/local/lib
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gxine cant find libmozjs.so solar1951 Fedora 2 10-20-2006 05:03 PM
Problem configuring gxine to install. SonicGT Linux - Software 5 08-20-2005 06:17 PM
can't run firefox ( libmozjs.so ) titanium_geek Linux - Software 7 07-22-2005 09:44 PM
gxine won't set up after install Furlinastis Slackware 2 06-15-2005 07:12 PM
installing libxaw for gxine to install hesher Linux - Newbie 0 08-28-2003 12:08 PM


All times are GMT -5. The time now is 07:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration