Appimage is broken: libthai.so.0 not found #978

Closed
opened 2026-04-06 01:54:57 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @wtarreau on 8/13/2023

Hello,

it's impossible to execute the AppImage for me, as you can see AppRun.wrapped depends on libthai.so.0 which is not shipped with the image (and obviously not present on my system, though it shouldn't have to):

$ ./SlimeVR-amd64.appimage 
slimevr: error while loading shared libraries: libthai.so.0: cannot open shared object file: No such file or directory

Even after --appimage-extract:

$ ./AppRun.wrapped 
slimevr: error while loading shared libraries: libthai.so.0: cannot open shared object file: No such file or directory

Strangely the binary doesn't depend on it, it's just extra stuff that it seems to be loading at run time:

$ ldd ./AppRun.wrapped 
        linux-vdso.so.1 (0x00007fffae564000)
        libc.so.6 => /lib64/libc.so.6 (0x00007ffab55fc000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ffab5823000)
$ strace -e trace=openat ./AppRun.wrapped
...
openat(AT_FDCWD, "tls/x86_64/x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "tls/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
...

etc.

I think there's either an undesired dependency on your system or one that was not identified at packaging time.

*Originally created by @wtarreau on 8/13/2023* Hello, it's impossible to execute the AppImage for me, as you can see AppRun.wrapped depends on libthai.so.0 which is not shipped with the image (and obviously not present on my system, though it shouldn't have to): ``` $ ./SlimeVR-amd64.appimage slimevr: error while loading shared libraries: libthai.so.0: cannot open shared object file: No such file or directory ``` Even after --appimage-extract: ``` $ ./AppRun.wrapped slimevr: error while loading shared libraries: libthai.so.0: cannot open shared object file: No such file or directory ``` Strangely the binary doesn't depend on it, it's just extra stuff that it seems to be loading at run time: ``` $ ldd ./AppRun.wrapped linux-vdso.so.1 (0x00007fffae564000) libc.so.6 => /lib64/libc.so.6 (0x00007ffab55fc000) /lib64/ld-linux-x86-64.so.2 (0x00007ffab5823000) ``` ``` $ strace -e trace=openat ./AppRun.wrapped ... openat(AT_FDCWD, "tls/x86_64/x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tls/x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tls/x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "tls/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "x86_64/x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "x86_64/libthai.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) ... ``` etc. I think there's either an undesired dependency on your system or one that was not identified at packaging time.
MrUnknownDE added the OS: LinuxType: BugOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxOS: LinuxType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: BugType: Bug labels 2026-04-06 01:55:38 +02:00
Sign in to join this conversation.
No Label OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux OS: Linux Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug Type: Bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/SlimeVR-Server#978