Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
4,158 Views

Quartus 15.1 requires libpng12 ?

Hello, 

 

I have just installed Quartus 15.1 64-bit edition on a Linux machine. 

 

Starting quartus gave me : 

 

quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory 

 

Why does Quartus still need libpng 12 ? This is an old library. 

How can I resolve this ? 

 

best regards 

 

 

Simon
0 Kudos
12 Replies
Altera_Forum
Honored Contributor I
244 Views

very fast one..try do a search for libpng12.so.0 see if this files present.

Altera_Forum
Honored Contributor I
244 Views

 

--- Quote Start ---  

very fast one..try do a search for libpng12.so.0 see if this files present. 

--- Quote End ---  

 

 

Not present. I do have : 

 

libpng14.so.14 -> libpng14.so.14.12.0* 

libpng.so.14 -> libpng14.so.14* 

libpng.so -> libpng16.so

libpng16.so.16 -> libpng16.so.16.19.0* 

libpng.la -> libpng16.la

libpng16.so -> libpng16.so.16.19.0* 

 

Making a link to to libpng12.so.0 from libpng14.so.14.12.0 

 

results in : 

 

quartus: /usr/lib64/libpng12.so.0: version `PNG12_0' not found (required by /opt/altera_lite/15.1/quartus/linux64/libQtGui.so.4)
Altera_Forum
Honored Contributor I
244 Views

Is this a Ubuntu or cent os?

Altera_Forum
Honored Contributor I
244 Views

http://www.digitalsolutionslab.com/installing-quartus-ii-v-13-1-64-bit-on-rhelcentos-6-64-bit/ 

 

this page might helps , as additional thing need to be done for 64 bit quartus II installation during in 13.1. probably this still appies in 15.1..
Altera_Forum
Honored Contributor I
244 Views

 

--- Quote Start ---  

Is this a Ubuntu or cent os? 

--- Quote End ---  

 

 

Slackware 14.1+ 64-bit 

 

 

Thanks for the link !
Altera_Forum
Honored Contributor I
244 Views

no offend, but the supported Linux version quite limited as well for quartus, where other than the listed below might face some unpredictable errors.. extra effort needed to solve all those untested OS. :D 

 

http://dl.altera.com/requirements/15.1/
Altera_Forum
Honored Contributor I
244 Views

I frequently have similar issues with shared objects on my CentOS servers. Running the following command fixes many of them: 

export LD_LIBRARY_PATH=/opt/Altera/altera15.1/quartus/linux64 # point to your quartus installation 

/opt/Altera/altera15.1/quartus/bin/quartus_sh --64bit -gui & # open Quartus GUI
Altera_Forum
Honored Contributor I
244 Views

 

--- Quote Start ---  

I frequently have similar issues with shared objects on my CentOS servers. Running the following command fixes many of them: 

export LD_LIBRARY_PATH=/opt/Altera/altera15.1/quartus/linux64 # point to your quartus installation 

/opt/Altera/altera15.1/quartus/bin/quartus_sh --64bit -gui & # open Quartus GUI 

--- Quote End ---  

 

 

thanks for sharing, and the environment path also contribute to this error messages. !
Altera_Forum
Honored Contributor I
244 Views

 

--- Quote Start ---  

I frequently have similar issues with shared objects on my CentOS servers. Running the following command fixes many of them: 

export LD_LIBRARY_PATH=/opt/Altera/altera15.1/quartus/linux64 # point to your quartus installation 

/opt/Altera/altera15.1/quartus/bin/quartus_sh --64bit -gui & # open Quartus GUI 

--- Quote End ---  

 

 

Thanks for sharing this.
Altera_Forum
Honored Contributor I
244 Views

 

--- Quote Start ---  

Slackware 14.1+ 64-bit 

 

 

Thanks for the link ! 

--- Quote End ---  

 

 

I have to say in order to reduce more incompatibility issue that may raise in your development, It is better you consider to be in Altera supported OS.
Altera_Forum
Honored Contributor I
244 Views

Problem: libpng12 not present or not linked<=Ubuntu 14.04 and newer Linux OS usually use libpng16+ or not even present in the repositories 

Solution: Install libpng12<=Canonical repositories are no longer supporting libpng12=>https://packages.debian.org/es/jessie/libpng12-0 download the package(only .deb for debian base OS)
Altera_Forum
Honored Contributor I
244 Views

Hi  

 

I too had the same issue with Quartus 15.1, in Ubuntu 17.04 (GNU/Linux 4.10.0-35-generic x86_64) "error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory" 

 

Solution 

1) download libpng12-0_1.2.50-2+deb8u3_amd64.deb, from https://packages.debian.org/es/jessie/amd64/libpng12-0/download 

2) dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb 

 

After this Quartus open up with GUI...!
Reply