Quote:
Originally Posted by DiapDealer
Adding the Qt libs directory to the ld_library_path is really only strictly necessary if you custom build Sigil against a version of Qt different than the system's default Qt. The repo version of Sigil is always built against the current system Qt (and should always be able to find it). It doesn't hurt to include the system Qt libs directory though. That's why I include it in the vanilla launcher--it will work for all situations: vanilla or custom.
I'd just like to see Reuben return to a completely stock distro Sigil installation so we can properly debug what might have been happening.
|
I reinstalled Sigil, the /usr/bin/sigil script now is:
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 "$@"
I also removed the sigil.conf file and... Sigil crashes again in my system. For an unknown reason, Sigil can't find the gumbo library.