Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16916 Discussions

How to resolve a libpng12.so.0 error on CentOS System?

Prachi_S_Intel
Employee
4,535 Views

When I am trying to install Intel FPGA SDK for OpenCL, I am getting an error as "quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory" for CentOS Linux 7 (Core). I applied the solution listed on the forum, but it did not work for me. Could someone help me with this?

 

0 Kudos
3 Replies
HRZ
Valued Contributor III
4,000 Views

Do you get this error while installing the SDK or using it? If this is during installation, can you post the command you run that generates the error? If this is during usage, can you post the environmental variables that you have set in your .bashrc to get OpenCL to work? You can install that missing library by running "sudo yum install libpng12". However, this should not be normally required unless you are using an old version of Quartus. Please also post the version of Quartus you are using and your board model.

0 Kudos
Prachi_S_Intel
Employee
4,000 Views

I am getting the error while trying to install Intel FPGA SDK for OpenCL(AOCL-pro-18.1.0.222-linux). The CentOS version that I am using is CentOS Linux release 7.5.1804 (Core). I get the error "quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory" when I run command "./setup_pro.sh" which is provided to install the tool. Please let me know.

0 Kudos
HRZ
Valued Contributor III
4,000 Views

I just checked my own environment, I indeed have "libpng12" installed. Please try installing it using the command I mentioned in my previous reply and see if it solves the problem.

0 Kudos
Reply