Closed veloman-yunkan closed 3 months ago
under both Ubuntu22.04 (jammy) which I used for testing and Ubuntu 20.04 (focal) on which I built the appimage the shared library file (in /usr/lib/x86_64-linux-gnu) is named libthai.so.0.3.1
Same on my Fedora 39
@Yanestra can you test https://tmp.kiwix.org/ci/dev_preview/kiwix-desktop-appimage-libthai_so/kiwix-desktop_x86_64_2024-04-19.appimage ?
@mgautierfr @veloman-yunkan Can we merge this now?
Should fix kiwix/kiwix-desktop#1016
linuxdeployqt
(the tool used for creating thekiwix-desktop
appimage) doesn't putlibthai.so
into the appimage as that library has caused problems in the past. The entry forlibthai.so
in the respective "blacklist" reads:I verified that the fix produces an appimage that works on an Ubuntu 22.04 system with the
libthai.so*
files temporarily removed from/usr/lib/x86_64-linux-gnu
whereas the official release appimage reports the same error as described in kiwix/kiwix-desktop#1016 and doesn't start:The (fixed) appimage also works without problem on an unmodified Ubuntu 22.04 (of course, assuming that kiwix/kiwix-desktop#871 doesn't count in the context of this PR).
Note however that I didn't try running the appimage on a system that contains a drastically different version of
libthai.so
- under both Ubuntu22.04 (jammy) which I used for testing and Ubuntu 20.04 (focal) on which I built the appimage the shared library file (in/usr/lib/x86_64-linux-gnu
) is namedlibthai.so.0.3.1
although jammy's package version forlibthai0
strangely reads0.1.29-1build1
while for focal it's0.1.28-3
.