我正在运行Linux:
parrot 4.18.0-parrot10-amd64 #1 SMP Debian 4.18.10-1parrot10 (2018-10-06) x86_64 GNU/Linux.
我已经完成安装Quartus 13.0,当我尝试运行它时,我收到此错误:
quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
我已经阅读了堆栈溢出和其他网站上的所有相关问题,但没有人为我工作。
在寻找那个文件时,我发现了它。我试图做一个硬链接但它也不起作用。搜索结果:
┌─[pepbd@parrot]─[~]
└──╼ $ls -ld $(locate -r libpng.*\.so.*)
lrwxrwxrwx 1 root root 19 nov 19 17:09 /usr/lib/x86_64-linux-gnu/libpng16.so.16 -> libpng16.so.16.34.0
-rw-r--r-- 1 root root 210864 jul 10 13:17 /usr/lib/x86_64-linux-gnu/libpng16.so.16.34.0
-rw-r--r-- 1 root root 18272 oct 14 21:59 /usr/lib/x86_64-linux-gnu/vlc/plugins/codec/libpng_plugin.so
我在Ubuntu上遇到了与Quartus Prime 18相同的问题。这对我有用(以sudo身份运行):
wget -q -O /tmp/libpng12.deb http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb \
&& dpkg -i /tmp/libpng12.deb \
&& rm /tmp/libpng12.deb