On Wed, 20 Mar 2002, Aaron Hazelton wrote:

> When trying to install webalizer, it required 'libpng' package to create
> the graphics.  Everything installed with no errors, but when trying to
> run webalizer, I get the following error:

 Did you install an rpm package, or was this home-built?

> [root@ensim /home]# webalizer -c /etc/webalizer-hazenet.conf
> libpng warning: Application was compiled with png.h from libpng-1.0.8
> libpng warning: Application  is  running with png.c from libpng-1.2.1
> gd-png:  fatal libpng error: Incompatible libpng version in application
> and library
> Segmentation fault (core dumped)
> [root@ensim /home]#
> 
> I installed the libpng-1.2.1 version from the website.  Any ideas on how
> to correct this? I even tried just installing the old version (1.0.8),
> but I still got the same error.  Thanks in advance!

 You'll probably keep getting the error until you remove the newer
libpng.  It appears that some libraries (gnome-libs and others) load
"libpng.so" and sometimes pick up the newer version instead of the
old one.  There's a version check built into libpng which is what
generates the warning (and gives me a black+white icon for Netscape
instead of a colour one on the task list :o)

 If you built with the header file for 1.0 and then linked against
the 1.2 lib (which happens easily due to where the headers are put
if you have both 1.0 and 1.2 development packages installed), it
causes exactly the symptoms you describe.

 I got around this for a while by rebuilding a few packages against
libpng 1.2, but that way lies madness ;o)

 I'd suggest removing 1.2 altogether, making sure you have the 1.0.12
libpng-devel package, and rebuilding webalizer or grabbing the package
from the 7.2 updates directory

        ftp://ftp.redhat.com/pub/redhat/linux/updates/7.2/en/os/i386/

the package is webalizer-2.01_09-0.72.i386.rpm.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to