View Single Post
Old 12-20-2025, 06:40 PM   #19
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
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.
RbnJrg is offline   Reply With Quote