[PHP-DEV] PHP 4.0 Bug #7259 Updated: Unable to find required gettext library From: sniper <email protected>
Date: 10/28/00

ID: 7259
Updated by: sniper
Reported By: jeffrey.hundstad <email protected>
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 <email protected>
What was the full configure line you used?

--Jani

---------------------------------------------------------------------------

[2000-10-16 17:42:09] jeffrey.hundstad <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>