[digiKam-users] appimage not loading: symbol lookup error

Gilles Caulier caulier.gilles at gmail.com
Fri Jul 6 14:06:59 BST 2018


Hum,

I changed the bash code.

https://github.com/KDE/digikam/blob/master/project/bundles/appimage/data/AppRun#L11

Try again with AppImage build today :

digikam-6.0.0-git-20180706T144835-x86-64.appimage
<https://files.kde.org/digikam/digikam-6.0.0-git-20180706T144835-x86-64.appimage>

Gilles Caulier

2018-07-05 20:13 GMT+02:00 <digikam at 911networks.com>:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20180706/f2fb5202/attachment.html>


More information about the Digikam-users mailing list