https://bugzilla.novell.com/show_bug.cgi?id=382739 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=382739#c2 --- Comment #2 from Mike Fabian <mfabian@novell.com> 2008-04-23 06:55:48 MST --- Actually we do that already (and I just tested again that it works). We patch the acroread start script like this: @@ -413,6 +429,14 @@ if [ -f "$i" ]; then mozillaPath="`grep "^GRE_PATH=" "$i" | cut -d= -f2 | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`" if [ -n "$mozillaPath" ]; then + if [ "$(arch)" = "x86_64" ]; then + for lib in /usr/lib/xulrunner-*/libgtkembedmoz.so /usr/lib/seamonkey/libgtkembedmoz.so + do + if [ -f $lib ]; then + mozillaPath="$(dirname $lib)" + fi + done + fi MOZILLA_COMP_PATH="$mozillaPath" export MOZILLA_COMP_PATH break /usr/lib/seamonkey doesn’t exist on STABLE/Factory. And /usr/lib/xulrunner-*/libgtkembedmoz.so expands to mfabian@magellan:~$ echo /usr/lib/xulrunner-*/libgtkembedmoz.so /usr/lib/xulrunner-1.8.1.13/libgtkembedmoz.so /usr/lib/xulrunner-1.8.1/libgtkembedmoz.so mfabian@magellan:~$ i.e. the shortest library name comes last (glob patterns sort in alphabetical order according to the bash man page). mozillaPath is then to the last match in the glob pattern where the library is found. Maybe I should move /usr/lib/seamonkey/libgtkembedmoz.so to the front of the globpattern to make this more obvious. (Probably I added this /usr/lib/seamonkey/libgtkembedmoz.so path because of some old version of openSUSE where the library is in that location.). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.