ahrm / sioyek

Sioyek is a PDF viewer with a focus on textbooks and research papers
https://sioyek.info/
GNU General Public License v3.0
6.99k stars 229 forks source link

sioyek: error while loading shared libraries: libmupdf.so.24.8: cannot open shared object file: No such file or directory #1158

Open Serpentarius13 opened 1 week ago

Serpentarius13 commented 1 week ago

Hey! This error is happening when trying to use either sioyek or sioyek-git repos. Only `sioyek-appimage' works on Arch, but it seems very outdated. I think detailed guide on how to manage build results to folders (like where to put bin + shaders + configs) is needed, so it would be manageable to build package myself since package managers versions are handled by other people, I was very confused when building myself as not-so-knowledgeable user. This would help other distros too

ahrm commented 1 week ago

My suggestion is that you build with linux_app_image qmake config (qmake "CONFIG+=linux_app_image"). It doesn't actually build an appimage but produces a binary that can be converted to appimage. This config uses the mupdf 1.22 which is included in the source directory and the location of shader and config files are just next to the sioyek binary.

ahrm commented 5 days ago

I have updated the mupdf in the development branch to 1.24.