View Single Post
Old 12-20-2025, 10:15 AM   #7
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,896
Karma: 8939999
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by DiapDealer View Post
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.
RbnJrg is offline   Reply With Quote