Prevent setting an $LD_LIBRARY_PATH
[quote=/usr/lib/openoffice/program/soffice]
# set search path for shared libraries
add_moz_lib=
for moz_lib_path in $MOZILLA_LIBRARY_PATH /usr/lib /usr/lib/mozilla /usr/lib/mozilla-firefox /usr/lib/mozilla-
thunderbird /opt/mozilla/lib /opt/MozillaFirefox/lib /opt/MozillaThunderbird/lib; do
test -f $moz_lib_path/libnss3.so && add_moz_lib=":$moz_lib_path" && break;
done
case $sd_platform in
[...]
*)
# # this is a temporary hack until we can live with the default search paths
# if [ $LD_LIBRARY_PATH ]; then
# SYSTEM_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
# export SYSTEM_LD_LIBRARY_PATH
# LD_LIBRARY_PATH="$sd_prog$add_moz_lib":$LD_LIBRARY_PATH
# else
# LD_LIBRARY_PATH="$sd_prog$add_moz_lib"
# fi
# export LD_LIBRARY_PATH
;;
esac
[...]
# extend the ld_library_path for java: javaldx checks the sofficerc for us
if [ -x "$sd_prog/javaldx" ] ; then
java_ld_library_path=`"$sd_prog/javaldx" $BOOTSTRAPVARS`
if [ "$java_ld_library_path" != "" ] ; then
case $sd_platform in
[...]
*)
# LD_LIBRARY_PATH=${java_ld_library_path}:${LD_LIBRARY_PATH}
;;
esac
fi
fi[/quote]
Prevent setting an $LD_LIBRARY_PATH /usr/lib/ openoffice/ program/ soffice] LIBRARY_ PATH /usr/lib /usr/lib/mozilla /usr/lib/ mozilla- firefox /usr/lib/mozilla- efox/lib /opt/MozillaThu nderbird/ lib; do path/libnss3. so && add_moz_ lib=":$ moz_lib_ path" && break;
[quote=
# set search path for shared libraries
add_moz_lib=
for moz_lib_path in $MOZILLA_
thunderbird /opt/mozilla/lib /opt/MozillaFir
test -f $moz_lib_
done
case $sd_platform in
[...]
*) LD_LIBRARY_ PATH=$LD_ LIBRARY_ PATH LD_LIBRARY_ PATH PATH="$ sd_prog$ add_moz_ lib":$LD_ LIBRARY_ PATH PATH="$ sd_prog$ add_moz_ lib"
# # this is a temporary hack until we can live with the default search paths
# if [ $LD_LIBRARY_PATH ]; then
# SYSTEM_
# export SYSTEM_
# LD_LIBRARY_
# else
# LD_LIBRARY_
# fi
# export LD_LIBRARY_PATH
;;
esac
[...]
# extend the ld_library_path for java: javaldx checks the sofficerc for us ld_library_ path=`" $sd_prog/ javaldx" $BOOTSTRAPVARS` ld_library_ path" != "" ] ; then
if [ -x "$sd_prog/javaldx" ] ; then
java_
if [ "$java_
case $sd_platform in
[...]
*) PATH=${ java_ld_ library_ path}:$ {LD_LIBRARY_ PATH}
# LD_LIBRARY_
;;
esac
fi
fi[/quote]
Nasty workaround, but it works for me.