glibc pdfium.so in v0.9.1.4 of kavita-linux-musl-x64.tar.gz
Author: 606uCreated Sep 7, 2026Updated Sep 7, 2026
Labelsneeds-triage
What happened?
PDF files lack thumbnails. Probable reason -- incorrect pdfium.so shipped in the musl release.
kavita:/opt/Kavita# ldd pdfium.so
/lib/ld-musl-x86_64.so.1 (0x7f5a02663000)
libpthread.so.0 => /lib/ld-musl-x86_64.so.1 (0x7f5a02663000)
libm.so.6 => /lib/ld-musl-x86_64.so.1 (0x7f5a02663000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f5a0262f000)
libc.so.6 => /lib/ld-musl-x86_64.so.1 (0x7f5a02663000)
Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by pdfium.so)
Error relocating pdfium.so-glibc: __vsnprintf_chk: symbol not found
Error relocating pdfium.so-glibc: __memset_chk: symbol not found
Error relocating pdfium.so-glibc: __memcpy_chk: symbol not found
Error relocating pdfium.so-glibc: __longjmp_chk: symbol not found
Error relocating pdfium.so-glibc: __mbrlen: symbol not found
Error relocating pdfium.so-glibc: strtoll_l: symbol not found
Error relocating pdfium.so-glibc: strtoull_l: symbol not found
Error relocating pdfium.so-glibc: __strncat_chk: symbol not found
Error relocating pdfium.so-glibc: __register_atfork: symbol not foundManual fix: replace pdfium.so with libpdfium.so from PDFium 118.0.5989.0, downloaded from https://github.com/bblanchon/pdfium-binaries/releases/tag/chromium%2F5989, pdfium-linux-musl-x64.tgz, guessed by file date.
With a replaced shared library:
kavita:/opt/Kavita# ldd pdfium.so
/lib/ld-musl-x86_64.so.1 (0x7f5ffdfb7000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f5ffd600000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f5ffdf83000)
libc.so => /lib/ld-musl-x86_64.so.1 (0x7f5ffdfb7000)What did you expect?
In the long run it would be best if Kavita's musl binary release contains the correct pdfium.so, namely musl version.
Kavita Version Number - If you don't see your version number listed, please update Kavita and see if your issue still persists.
0.9.1 - Stable
Are you accessing kavita through a reverse proxy? If yes, confirm that the issue persists with a direct connection
No
What operating system is Kavita being hosted from?
Linux
If the issue is being seen on Desktop, what OS are you running where you see the issue?
No response
If the issue is being seen in the UI, what browsers are you seeing the problem on?
No response
If the issue is being seen on Mobile, what OS are you running where you see the issue?
No response
If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?
No response
Relevant log output
Additional Notes
Deployed on a VM running Alpine 3.24.1 (alpine-virt-3.24.1-x86_64.iso) under FreeBSD 15.1 bhyve.
Source: Kareadita/Kavita