LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-23-2008, 12:25 AM   #1
empcrono
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 110

Rep: Reputation: 15
gxine: error while loading shared libraries: libmozjs.so: cannot open shared object..


"gxine: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory"


Thing is that it works, albiet very buggy, when somthing tries to access it via firefox. However it is buggy, like I said, and it wont start when I try to access it my self. e.g. through bash or terminal etc.
 
Old 10-23-2008, 02:58 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,574

Rep: Reputation: 429Reputation: 429Reputation: 429Reputation: 429Reputation: 429
install seamonkey and ran ldconfig
 
Old 10-23-2008, 06:31 AM   #3
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by empcrono View Post
"gxine: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory"


Thing is that it works, albiet very buggy, when somthing tries to access it via firefox. However it is buggy, like I said, and it wont start when I try to access it my self. e.g. through bash or terminal etc.
Those libraries are part of firefox. I have no idea, why gxine needs them, but this bug did happen occasionally. Can be solved by symlinking firefox libraries (there will be four of them) into /usr/local/lib, sometimes can be cured by resetting gxine's skin.
 
Old 11-10-2008, 03:17 AM   #4
empcrono
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ErV View Post
Those libraries are part of firefox. I have no idea, why gxine needs them, but this bug did happen occasionally. Can be solved by symlinking firefox libraries (there will be four of them) into /usr/local/lib, sometimes can be cured by resetting gxine's skin.
Do you know what four need to be symlinked? I symlinked libmozjs.so in /usr/local/lib but I still get the same prob.
 
Old 11-10-2008, 05:35 AM   #5
Karu
Member
 
Registered: Jul 2007
Location: Estonia
Distribution: Slackware
Posts: 53

Rep: Reputation: 16
Maybe this thread is relevant to your problem ?
 
Old 11-10-2008, 06:09 AM   #6
empcrono
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Karu View Post
Maybe this thread is relevant to your problem ?
No I still get the same problems. It was insightful however. Thank you!
 
Old 11-10-2008, 07:36 AM   #7
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by empcrono View Post
Do you know what four need to be symlinked?
I don't really remember, because they had really ugly names which looked meaningless (except libmozjs, which seems to mean "mozilla javascript"), but I think they were libmozjs.so, libplds4.so, libplc4.so and libnspr4.so. I'm not completely sure about it, though. Try launching gxine from terminal emulator (Konsole, xterm, whatever) after you symlinked first library, it will print which one it can't find. Or do "ldd /usr/bin/gxine", and it will also help you to find missing libraries.

Quote:
Originally Posted by empcrono View Post
I symlinked libmozjs.so in /usr/local/lib but I still get the same prob.
I found out that I symlinked libraries in /usr/lib, not /usr/local/lib. Try it, it might help.

Last edited by ErV; 11-10-2008 at 07:37 AM.
 
Old 11-10-2008, 08:54 AM   #8
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,766

Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
Quote:
Which package contains <insert filename here>?

It's commonly considered the best way to find this information is through
searching Slackware's MANIFEST.bz2 file. You can find this file on the
Slackware CD in the slackware directory or on a Slackware mirror. (Note
that in older distributions, the file is called MANIFEST.gz, and is
found in the slakware directory).

One way to search MANIFEST.bz2 is to type the following:

less -p filename MANIFEST.bz2
(press n for next match found. Press q to exit.
http://www.therockgarden.ca/aolsfaq.txt
 
Old 11-10-2008, 10:09 AM   #9
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Thumbs down

Quote:
Originally Posted by dugan View Post
And if you have custom-built packages then it won't work.
/var/log/packages contains lists of files for all packages, so searching should be done by checking contents of /var/log/packages, not manifest.bz2.
 
Old 11-10-2008, 11:10 AM   #10
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,766

Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
/var/log/packages list files in packages that you have installed. When you get messages about missing library files, they're probably[1] in packages that you haven't installed. Then, MANIFEST is the place to find them.

1. Might not apply in this case though .

Last edited by dugan; 11-10-2008 at 11:29 AM.
 
Old 11-10-2008, 07:33 PM   #11
empcrono
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ErV View Post

I found out that I symlinked libraries in /usr/lib, not /usr/local/lib. Try it, it might help.
Yeah that did the trick. Thanks every one!!

Edit: It is still very buggy though. I am beginning to think that Gxine is just buggy

To be more clear, when ever I full screen or exit full screen it freezes. If I use the keyboard to do it, it does not freeze however.

Last edited by empcrono; 11-10-2008 at 07:42 PM.
 
  


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
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file PaulyWally Debian 2 10-18-2008 05:59 PM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 05:10 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM


All times are GMT -5. The time now is 10:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration