<div dir="ltr">Hum,<div><br></div><div>I changed the bash code.</div><div><br></div><div><a href="https://github.com/KDE/digikam/blob/master/project/bundles/appimage/data/AppRun#L11">https://github.com/KDE/digikam/blob/master/project/bundles/appimage/data/AppRun#L11</a><br></div><div><br></div><div>Try again with AppImage build today :</div><div><br></div><div><a href="https://files.kde.org/digikam/digikam-6.0.0-git-20180706T144835-x86-64.appimage" style="color:rgb(0,104,198);text-decoration:none;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;text-align:left">digikam-6.0.0-git-20180706T144835-x86-64.appimage</a><br></div><div><br></div><div>Gilles Caulier</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-05 20:13 GMT+02:00 <span dir="ltr"><<a href="mailto:digikam@911networks.com" target="_blank">digikam@911networks.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 5 Jul 2018 19:13:19 +0200<br>
Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>> wrote:<br>
<br>
> Because AppImage must work as well. It's have been the case until<br>
> now, with new Linux distro release.<br>
> <br>
> Typically i add the preload rule in internal startup bash script in<br>
> the bundle :<br>
> <br>
> <a href="https://github.com/KDE/digikam/blob/master/project/bundles/appimage/data/AppRun#L11" rel="noreferrer" target="_blank">https://github.com/KDE/<wbr>digikam/blob/master/project/<wbr>bundles/appimage/data/AppRun#<wbr>L11</a><br>
> <br>
> This must do the job, or i miss something ?<br>
<br>
</span>Please note that I'm not a bash programmer but:<br>
<br>
if [ -f "/usr/lib/libfreetype.so" ]; then<br>
LD_PRELOAD="/usr/lib/<wbr>libfreetype.so"<br>
elif [ -f "/usr/lib64/libfreetype.so" ]; then<br>
LD_PRELOAD="/usr/lib64/<wbr>libfreetype.so"<br>
fi<br>
<br>
in my case (Manjaro): /usr/lib/libfreetype.so is not a file but a<br>
link:<br>
<br>
$ ls -alF /usr/lib/libfreetype.so<br>
lrwxrwxrwx 1 root root 21 May 2 04:15 /usr/lib/libfreetype.so -> libfreetype.so.6.16.1*<br>
<br>
So shouldn't it be a "-e" instead of a "-f":<br>
<br>
if [ -e "/usr/lib/libfreetype.so" ]; then<br>
LD_PRELOAD="/usr/lib/<wbr>libfreetype.so"<br>
elif [ -e "/usr/lib64/libfreetype.so" ]; then<br>
LD_PRELOAD="/usr/lib64/<wbr>libfreetype.so"<br>
fi<br>
<br>
Warning: I'm not a bash programmer<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
sknahT<br>
<br>
vyS<br>
</font></span></blockquote></div><br></div>