LinuxQuestions.org
Help answer threads with 0 replies.
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, 01:25 AM   #1
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
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, 03:58 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,830

Rep: Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901Reputation: 1901
install seamonkey and ran ldconfig
 
Old 10-23-2008, 07: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, 04:17 AM   #4
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648

Original Poster
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
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, 06: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, 07:09 AM   #6
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648

Original Poster
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
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, 08: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 08:37 AM.
 
Old 11-10-2008, 09:54 AM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352

Rep: Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385
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, 11: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, 12:10 PM   #10
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352

Rep: Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385Reputation: 5385
/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 12:29 PM.
 
Old 11-10-2008, 08:33 PM   #11
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 648

Original Poster
Blog Entries: 2

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
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 khronosschoty; 11-10-2008 at 08: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 06:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 04:19 PM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file PaulyWally Debian 2 10-18-2008 06:59 PM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 06:10 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 08:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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
Open Source Consulting | Domain Registration