PHP 4.0 Bug #7259: Unable to find required gettext library
| From: | jeffrey dot hundstad at mnsu dot edu | Date: | Mon, 16 Oct 2000 21:42:09 +0000 |
| Subject: | PHP 4.0 Bug #7259: Unable to find required gettext library | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35197@lists.php.net to get a copy of this message | ||
From: jeffrey.hundstad@mnsu.edu
Operating system: Linux/debian
PHP version: 4.0.3pl1
PHP Bug Type: *Configuration Issues
Bug description: Unable to find required gettext library
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
--
Edit Bug report at: http://bugs.php.net/?id=7259&edit=1