View Single Post
Old 12-20-2025, 11:43 AM   #9
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
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:

Code:
/usr/lib/sigil
and so far, all is working (even after restarting the system).
RbnJrg is offline   Reply With Quote