Quote:
Originally Posted by DiapDealer
Hmmm... All of those variables should have been properly set in the launch script already. Perhaps your script is what got damaged.
What was in /usr/bin/sigil before you edited it? 
|
The following:
Code:
#!/bin/sh
# Entry point for Sigil on Unix systems.
# Adds linked Qt's lib directory to the LD_LIBRARY_PATH
QTLIB_DIR="/usr/lib"
SIGIL_BIN_DIR="/usr/lib/sigil"
if [ -z "$LD_LIBRARY_PATH" ]; then
LD_LIBRARY_PATH="$SIGIL_BIN_DIR:$QTLIB_DIR"
else
LD_LIBRARY_PATH="$SIGIL_BIN_DIR:$QTLIB_DIR:$LD_LIBRARY_PATH"
fi
# Create an environment var for the Sigil share directory location.
if [ -z "$SIGIL_SHARE_PREFIX" ]; then
SIGIL_SHARE_PREFIX="/usr"
export SIGIL_SHARE_PREFIX
fi
# Not really needed anymore but left in for fringe cases
if [ -z "$SIGIL_EXTRA_ROOT" ]; then
SIGIL_EXTRA_ROOT="/usr/share/sigil"
export SIGIL_EXTRA_ROOT
fi
export LD_LIBRARY_PATH
exec /usr/lib/sigil/sigil "$@"
#!/bin/sh
But after restarting the system, the fix didn't work anymore. So I asked Gemini what can be wrong and told me to create a file named sigil.conf in /etc/ld.so.conf.d/ with the following content:
and so far, all is working (even after restarting the system).