-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
appImage: "/tmp/.mount_DarktaTmcr11/AppRun.wrapped: error while loading shared libraries: libthai.so.0: cannot open shared object file: No such file or directory" #16871
Comments
I do run gentoo, but I have actually no idea what appimage even is, but seeing your error, I just asked google... |
@vitaly-zdanevich I see from your profile that you are a Gentoo contributor. Could you add the libthai package to the official Gentoo repo? This could make Gentoo compatible with AppImage. |
I can, but the point of AppImage is to have dependencies inside? |
|
But how Darktable from the Gentoo repo works without this library? |
No, if you mean ALL dependencies. Otherwise, each image would have to contain absolutely all base libraries up to and including glibc. In fact, appimage relies on a certain set of core libraries and packages everything else privately. Due to the nature of Gentoo, appimage cannot be guaranteed to work on every user system. The user, for example, can make a kernel without FUSE support, and then no program in the appimage format will work. Yes.
Because this library is not a direct dependency of darktable, i.e. it is not required for darktable to work. darktable AppImage is built in Ubuntu environment. Ubuntu has libthai and this library gets into transitive dependencies. However, libthai is included in the excludelist of the standard library deployment toolkit in appimage. That is, appimage relies on libthai to be provided by the host system. |
Hm, so it means that it is impossible to include that lib to the AppImage? |
You can manually put anything you want into the appimage. But the standard toolkit contains a blocklist: |
I found that it already exists in Guru overlay https://data.gpo.zugaina.org/guru/dev-libs/libthai/ I created issue to add to the main tree https://bugs.gentoo.org/933097 |
Closing as this is something which needs to be addressed in Gentoo. |
I have 4.6.0 from Gentoo repo that works, but not the appImage.
$ ./Darktable-4.7.0+1290.gc88724fea2-x86_64.AppImage
/tmp/.mount_DarktaTmcr11/AppRun.wrapped: error while loading shared libraries: libthai.so.0: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: