On Tue, Apr 20, 2004 at 10:25:40PM +1000, James Gray wrote:
> Hmm - the server is an apache box running Debian Woody + backports from
> www.backports.org with a custom 2.4.25 kernel. Today I did an "apt-get
> update; apt-get dist-upgrade" and ever since webalizer chokes with the
> following error:
>
> 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
> gd-png: fatal libpng error: Incompatible libpng version in application and
> library
Check the sonames on your two libpng packages, and maybe an ldconfig -v to
show which versions of libpng are being linked in. You'll also want to ldd
gd-png and see what versions of libpng are being used.
Welcome to the world of fucked up dynamic libraries...
> ii libpng2 1.0.12-3.woody.3 PNG library - runtime
> ii libpng3 1.2.1-1.1.woody.3 PNG library - runtime
apt-cache rdepends libpng2 libpng3
will show what needs each package. Try and get rid of one version, if
possible. It sounds to me like you've picked up some bad backports along
the line. Blech. Maybe you need a newer version of one of the libpng
packages...
Hmm, good sigmonster. Maybe that should be extended to properly making
backports and shared libraries... <g>
- Matt
--
"People aren't smart enough to write thread-safe code."
-- Rasmus Lehdorf, LCA 2004
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html