Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Prachi_S_Intel
Employee
992 Views

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

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 II
457 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.

Prachi_S_Intel
Employee
457 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.

HRZ
Valued Contributor II
457 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.

Reply