PHP 4.0 Bug #7259 Updated: Unable to find required gettext library

From: Date: Sat, 28 Oct 2000 14:04:48 +0000
Subject: PHP 4.0 Bug #7259 Updated: Unable to find required gettext library
Groups: php.dev 
Request: Send a blank email to php-dev+get-36237@lists.php.net to get a copy of this message
ID: 7259 Updated by: sniper Reported By: jeffrey.hundstad@mnsu.edu Status: Open Bug Type: *Configuration Issues Assigned To: Comments: User feedback: ----------- I'm sorry I don't have that information anymore... it didn't reference the png libraries though... that was automagically detected (incorrectly.) Previous Comments: --------------------------------------------------------------------------- [2000-10-25 15:07:14] sniper@php.net What was the full configure line you used? --Jani --------------------------------------------------------------------------- [2000-10-16 17:42:09] jeffrey.hundstad@mnsu.edu Problem: If you have the debian package libpng2 installed without the libpng2-dev libraries... and use --with-gettext, configure will die with: Unable to find required gettext library The real error is: configure:16776: gcc -o conftest -g -O2 -L/usr/lib conftest.c -lc -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5 /usr/bin/ld: cannot find -lpng collect2: ld returned 1 exit status solution: remove libpng2 OR add libpng2-dev solution^2: make configure smarter ;-) -- jeffrey hundstad --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7259

« previous php.dev (#36237) next »