gxine: error while loading shared libraries: libmozjs.so: cannot open shared object..
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
"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.
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.
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
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.
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.
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.
/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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.