LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-08-2014, 01:08 PM   #1
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Rep: Reputation: Disabled
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?
 
Old 09-08-2014, 04:57 PM   #2
moesasji
Member
 
Registered: May 2008
Distribution: Slackware Current / OpenBSD
Posts: 322

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by hendrickxm View Post
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.
 
Old 09-09-2014, 01:29 AM   #3
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Original Poster
Rep: Reputation: Disabled
Thanks for the reply, I figured something like that. Guess I will be having fun rebuilding slackware on a testbox.
 
Old 09-09-2014, 04:34 AM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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.

Last edited by Drakeo; 09-09-2014 at 04:36 AM.
 
Old 09-09-2014, 04:39 AM   #5
hendrickxm
Member
 
Registered: Feb 2014
Posts: 344

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] libpng error: Incompatible libpng version in application and library Stragonian Slackware 10 11-18-2011 11:06 AM
[SOLVED] Build problem hard to solve : zeroradiant and libpng 1.4 (libpng compatibility pb) naaman Linux - Software 1 01-01-2011 04:03 AM
error while loading shared libraries: libpng.so.2: [I reinstalled libPNG!] Shioni Linux - Software 1 09-09-2006 07:21 PM
MPlayer install problems with libpng & libpng-devel Trey2501 Linux - Newbie 18 03-05-2004 11:24 PM
Upgrade libpng compile dvong3 Linux - Software 0 10-03-2003 03:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration