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

From: Date: Wed, 25 Oct 2000 19:07:14 +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-35983@lists.php.net to get a copy of this message
ID: 7259 Updated by: sniper Reported By: jeffrey.hundstad@mnsu.edu Status: Feedback Bug Type: *Configuration Issues Assigned To: Comments: What was the full configure line you used? --Jani Previous Comments: --------------------------------------------------------------------------- [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 (#35983) next »