apt - Wrong library version used (libpng) - Ask Ubuntu


i installed long time ago libpng12-dev package apt-get command. installed libpng-1.2.54.

but have project require libpng-1.6.16 version. since it's not available on ppa did following :

  • i uninstalled libpng12-dev library, apt-get remove

  • i installed new library manually

but when executed program it's still tells me taht it's using 1.2.54 version. checked few sthing , seems library still installed :

$identify -list format | grep png 

prints

mng* png       rw+   multiple-image network graphics (libpng 1.2.54)       png* png       rw-   portable network graphics (libpng 1.2.54) 

or

$ apt-cache policy libpng12-dev 

prints

libpng12-dev:   installed: (none)   candidate: 1.2.54-1ubuntu1   version table:      1.2.54-1ubuntu1 500         500 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 packages 

and

$ apt-cache policy libpng12-0 

prints

libpng12-0:   installed: 1.2.54-1ubuntu1   candidate: 1.2.54-1ubuntu1   version table:  *** 1.2.54-1ubuntu1 500         500 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 packages         100 /var/lib/dpkg/status 

is possible redirect program use library @ run time? or change configuration use last installed version instead?

undo manual installation, , install libpng 1.6 version comes ubuntu:

apt-get install libpng16-16 

Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User