I have this in 10.04 LTS, for gxine: ake...@big-blue:~$ gxine gxine: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory
The fix in the posts above doesn't work because: ake...@big-blue:~$ find /usr/lib -name "libmozjs*" /usr/lib/firefox-3.6.3/libmozjs.so /usr/lib/xulrunner-1.9.2.3/libmozjs.so Bizzarrely (to me) /usr/lib/firefox is a real directory, not a symlink to the current version. Hmm. So it seems I need to use a firefox- version-specific-fix for gxine. Which is rubbish, obviously. So, here's a shellscript I use to launch gxine (I've called it gxine_hack.sh). Also attached. Cheers, al. -- gxine_hack.sh 20100502 -- #! /bin/sh # gxine_hack.sh by allankelly AT gmail DOT com # 2010-05-02 # Under Ubuntu 10.04 LTS, gxine install fails to run due to dependency on # Firefox library libmozjs.so. This library is installed under version-specific # Firefox dir under /usr/lib. So, code below gets the highest numeric # /usr/lib/firefox-* directory and appends it to LD_LIBRARY_PATH, then runs # gxine. This should continue to work through Firefox upgrades. for DIR in `ls -d /usr/lib/firefox-* | grep -v addons | sort -n` do FF_LIB_DIR=$DIR done if [ -z $LD_LIBRARY_PATH ] then export LD_LIBRARY_PATH=/usr/lib/firefox && gxine else export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/firefox && gxine fi ** Attachment added: "Work-around shellscript for gxine dependency on libmozjs.so" http://launchpadlibrarian.net/47361475/gxine.sh -- [GUTSY] gxine cannot find libmozjs.so https://bugs.launchpad.net/bugs/130218 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs