Well, I figured that and checked out my system. I know I had a version on there before:
/usr/local/include/png.h (dated Jan 22nd) and /usr/local/lib/libpng.a (dated Jan 22nd) /usr/local/lib/libpng.so -> libpng.so.4 /usr/local/lib/libpng.so.4 (dated Jan 22nd) and when PHP 4.1.1 installed, it simply went ahead and installed the latest libPNG over-top of the old one: /usr/local/include/png.h (now dated Jan 31st) and /usr/local/lib/libpng.a (now dated Jan 31st) /usr/local/lib/libpng.so -> libpng.so.5 (now dated Jan 31st) /usr/local/lib/libpng.so.4 (still dated Jan 22nd) /usr/local/lib/libpng.so.5 (dated Jan 31st) I even looked at the png.h file and it said that it was for version 1.2.1 (the latest one just installed today). So what gives? I have a png.h of version 1.2.1 and libphp4.so for version 1.2.1 - and PHP doesn't seem to mind when compiling - but it gives me those errors when I try to run the dynamic image scripts. - Jonathan -----Original Message----- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 3:19 PM To: Jonathan Hilgeman Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP-INST] LibPNG error Well, your problem is probably exactly what it says. You built PHP against a png.h header file that didn't match the libpng library version. Make sure you only have one version installed. -Rasmus On Thu, 31 Jan 2002, Jonathan Hilgeman wrote: > Hi, > When I try to use GD+PNG functions to create dynamic PNG images, I get this > error: > > 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) > > Anyone want to try this one? > > - Jonathan > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]