Oh, damn sorry that's wrong! Too hasty.

THIS is the script I use. Sorry for the previous post, it should be
edited ... but I can't do that it seems.

MODS: Could you delete the solution above & indicate this is the working
work-around please.

Cheers, al.

--

gxine_hack.sh Version 1.1

--

#!  /bin/sh
# gxine_hack.sh by allankelly AT gmail DOT com
# 2010-05-02 v.1.1
# 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=$FF_LIB_DIR
else
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$FF_LIB_DIR
fi
echo "LD_LIBRARY_PATH == $LD_LIBRARY_PATH"
gxine


** Attachment added: "Version 1.1 of gxine_hack workaround for dependency on"
   http://launchpadlibrarian.net/47364432/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

Reply via email to