LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   libpng upgrade (https://www.linuxquestions.org/questions/slackware-14/libpng-upgrade-4175517889/)

hendrickxm 09-08-2014 01:08 PM

libpng upgrade
 
I was upgrading my system and using the libpng slackbuild from rogue class linux I continued rebuilding and upgrading freetype and fuse without problems. But when I tried opening geany, it did not find libpng14.so.14 so I symlinked like it says in this thread http://www.linuxquestions.org/questi...rk-4175510119/ only to recompile geany with missing icons. I rebuild cairo and geany again but no luck, still missing icons.
Anyone else tried updating libpng to libpng16?

moesasji 09-08-2014 04:57 PM

Quote:

Originally Posted by hendrickxm (Post 5234478)
I was upgrading my system and using the libpng slackbuild from rogue class linux I continued rebuilding and upgrading freetype and fuse without problems. But when I tried opening geany, it did not find libpng14.so.14 so I symlinked like it says in this thread http://www.linuxquestions.org/questi...rk-4175510119/ only to recompile geany with missing icons. I rebuild cairo and geany again but no luck, still missing icons.
Anyone else tried updating libpng to libpng16?

I think the key question is why would you actually want to upgrade libpng? This specific package has so many reverse dependencies that if that appeared in a typical Gentoo upgrade cycle it was going to be a fun upgrade. Essentially everything that uses libpng would have to be rebuild and that is a lot of software.

btw) that "fix" proposed in that thread is one to ask for trouble. A version-bump in a library indicates that the interface has changed. Simply replacing a old library by a newer version doesn't give any guarantee that every function in that library still does what your program expects. It might work for one program, while the next one it doesn't.

hendrickxm 09-09-2014 01:29 AM

Thanks for the reply, I figured something like that. Guess I will be having fun rebuilding slackware on a testbox.

Drakeo 09-09-2014 04:34 AM

you realize slackware uses libpng12 and libpng14 ok they build together from the package there are several reasons why some programs require
libpng12 and libpng14 still in Slackware. you could have installed libpng16 and left the other alone for backward compatibility.
or you can go back and try recompile and force all the programs that require libpng12 and libpng14 so they will use your libpng16.
good luck.

hendrickxm 09-09-2014 04:39 AM

I could try both ways. I just prepared a minimal slackware testbox on which I am going to build X-org after installing a rebuild toolchain. On my other box I will prepare a libpng package containing libpng12 14 and 16.
Thanks for the help.


All times are GMT -5. The time now is 07:34 PM.