I was able to fix this problem however I'm still not entirely sure why this was a problem in the first place.
After running strace, I saw open("/usr/local/lib/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied) which doesn't quite make sense since other programs (without sudo powers) which depended on libfreetype were able to run, and the permissions are set for read/write for all, also running evince under sudo didn't help either.
My apt-get of libfreetype placed the library in /usr/lib/x86_64-linux-gnu/libfreetype.so.6 but for some reason evince wasn't checking that folder (even though it was added to LD_LIBRARY_PATH). However I created a symbolic link to a folder which it does check sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.1 /usr/lib/libfreetype.so.6 and now evince runs fine.
本文介绍了在Linux环境下解决软件运行问题的方法,包括检查并安装正确的显卡驱动、使用lsusb命令获取USB设备信息及解决因共享库文件路径配置错误导致的应用启动失败问题。

6731

被折叠的 条评论
为什么被折叠?



