Quote:
Originally Posted by DiapDealer
If you're starting Sigil directly using /usr/lib/sigil/sigil, you'll need to manually set the variables that are set in the launch script /usr/bin/sigil. Otherwise, as you found out, it won't be able to find libsigilgumbo. Nothing is corrupted. The launch script prepends /usr/lib/sigil/ to LD_LIBRARY_PATH. Binaries in Linux don't automagically find/load shared libraries just because they're in the same directory.
|
Indeed! After changing the script /usr/bin/sigil with the following:
Code:
SIGIL_LIB_DIR="/usr/lib/sigil"
export LD_LIBRARY_PATH="$SIGIL_LIB_DIR${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export SIGIL_SHARE_PREFIX="/usr"
exec /usr/lib/sigil/sigil "$@"
did the trick! What surprises me is that with previous versions of Sigil, the program worked fine without needing to change the script.