Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1767 - libpng update breaks a lot
Summary: libpng update breaks a lot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
: 1855 (view as bug list)
Depends on: 1735
Blocks:
  Show dependency tree
 
Reported: 2002-04-14 09:30 UTC by Felix Kurth
Modified: 2003-02-04 19:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Kurth 2002-04-14 09:30:33 UTC
The silent update to libpng-1.2x breaks a lot. Due to the change
of the link libpng.so to libpng.so.3 instead of libpng.so.2 
you have to reemerge nearly everything from qt up to kde-libs.
And nobody knows it !!!
Look at the problems in the mailing-list !!!!
Comment 1 Sloan Poe 2002-04-15 11:52:30 UTC
 I believe that this is what just broke evolution for me. 
Comment 2 Sloan Poe 2002-04-15 12:06:07 UTC
 Just to make my report a little more thorough, here is the error that evolution gives. 
 
libpng warning: Application was compiled with png.h from libpng-1.2.1 
libpng warning: Application  is running with png.c from libpng-1.0.12 
libpng error: Incompatible libpng version in application and library 
 
 
Comment 3 Spider (RETIRED) gentoo-dev 2002-04-15 13:32:18 UTC
The errors here is odd.. this means you first emerged the new libpng, then
re-emerged the older one and now run a piece of code that is compiled against
the new version.


Comment 4 Sloan Poe 2002-04-15 19:48:44 UTC
 Well the only way that could have happened is if just updating world did it.. Because I haven't updated either 
libpng or evolution by hand. 
Comment 5 Vitaly Kushneriuk (RETIRED) gentoo-dev 2002-04-21 08:17:01 UTC
It just means, that you have 2 libs in the system, with .h files from the newer
one. So every application that explicitly links to libpng.so.2 will get into
troubles, since it will use .h from the newer version, while linking to the
older lib.
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2002-04-21 21:26:43 UTC
*** Bug 1855 has been marked as a duplicate of this bug. ***
Comment 7 Michael v.Ostheim 2002-04-23 15:35:54 UTC
Same problem for me:  
If you have libpng-1.0.12 _and_ libbpng-1.2.1 installed (only png.h is overwritten),  
everything compiles fine, but you get runtime errors (look to Sloan Poe's contribution).  
After unermerging the old version, compiling of new packages fails, because, for  
example, libpng.so.2 is hardcoded in kde-config. Only updating nearly _all_ will fix 
that.   
Comment 8 Spider (RETIRED) gentoo-dev 2002-04-23 17:00:06 UTC
hmm.
what package owns kde-config? isn't it kdelibs?

also, are you certain this is related to the existance of libpng.so.2 and
libpng.so.3 at the same time?  the mere existance of the old library should only
make sure that packages that don't link to double versions stay working.


there is another issue with portage removing symlinks that I'm seeing lately
that might affect this though.
Comment 9 Per Wigren 2002-05-01 11:03:55 UTC
qt-3.0.3.1 and kdemultimedia-3.0-r1 fails to build because of libpng. I had to  
change to -qt-png in the qt-ebuild to make it compile, but that is not a  
solution I want to stick with.  
I can't compile kdemultimedia at all..  
Comment 10 Spider (RETIRED) gentoo-dev 2002-05-06 10:05:39 UTC
emerge -C libpng
emerge libpng
emerge qt kdelibs 

this should solve it for you.

Comment 11 Spider (RETIRED) gentoo-dev 2002-05-28 13:41:04 UTC
cd   /usr/portage/media-libs/libpng/files

run : libpng-update-libs.sh

re-merge the ones necessary

run : libpng-update-bins.sh

re-merge those in need
Comment 12 Spider (RETIRED) gentoo-dev 2002-07-21 15:59:48 UTC
closing this one, its rather old.