[digiKam-users] appimage not loading: symbol lookup error
digikam at 911networks.com
digikam at 911networks.com
Thu Jul 5 19:13:07 BST 2018
On Thu, 5 Jul 2018 19:13:19 +0200
Gilles Caulier <caulier.gilles at gmail.com> wrote:
> Because AppImage must work as well. It's have been the case until
> now, with new Linux distro release.
>
> Typically i add the preload rule in internal startup bash script in
> the bundle :
>
> https://github.com/KDE/digikam/blob/master/project/bundles/appimage/data/AppRun#L11
>
> This must do the job, or i miss something ?
Please note that I'm not a bash programmer but:
if [ -f "/usr/lib/libfreetype.so" ]; then
LD_PRELOAD="/usr/lib/libfreetype.so"
elif [ -f "/usr/lib64/libfreetype.so" ]; then
LD_PRELOAD="/usr/lib64/libfreetype.so"
fi
in my case (Manjaro): /usr/lib/libfreetype.so is not a file but a
link:
$ ls -alF /usr/lib/libfreetype.so
lrwxrwxrwx 1 root root 21 May 2 04:15 /usr/lib/libfreetype.so -> libfreetype.so.6.16.1*
So shouldn't it be a "-e" instead of a "-f":
if [ -e "/usr/lib/libfreetype.so" ]; then
LD_PRELOAD="/usr/lib/libfreetype.so"
elif [ -e "/usr/lib64/libfreetype.so" ]; then
LD_PRELOAD="/usr/lib64/libfreetype.so"
fi
Warning: I'm not a bash programmer
--
sknahT
vyS
More information about the Digikam-users
mailing list