https://bugs.kde.org/show_bug.cgi?id=377688
--- Comment #26 from Michael Weghorn <m.wegh...@posteo.de> --- I actually do get similar error messages when using Ghostscript 9.21 instead of 9.22, but it works fine with version 9.22 in my case. libspectre itself uses Ghostscript, or to be more precise, the Ghostscript library, libgs. Therefore, you need to make sure that the self-compiled libgs is used. I did not mention it that explicitly before; these are possible steps to achieve this (maybe you already did this...): * build the library by using the command 'make so' from the directory containing the Ghostscript sources * locate the library (so file), which was in the 'sobin' subdirectory in my case: $ find . -name libgs.so.9 * set the environment variable 'LD_LIBRARY_PATH' to the path of the directory holding the 'libgs.so.9' file and start okular with the sample file, e.g. $ LD_LIBRARY_PATH=/path/to/ghostscript/sobin okular atcom_ip0x_quick_start_guide.pdf * test whether the behaviour is still the same In order to verify that the self-compiled library is actually used, you can e.g. use 'strace' to start okular and see from where the libray is loaded, e.g. $ LD_LIBRARY_PATH=/path/to/ghostscript/sobin strace -f -o /tmp/strace-output.log okular atcom_ip0x_quick_start_guide.pdf $ grep open /tmp/strace-output.log | grep libgs The output should then indicate the path of the library being used. Did you do this already? If so, it seems I'm unable to reproduce the exact issue you had... -- You are receiving this mail because: You are watching all bug changes.