php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7259 Unable to find required gettext library
Submitted: 2000-10-16 17:42 UTC Modified: 2000-11-01 09:48 UTC
From: jeffrey dot hundstad at mnsu dot edu Assigned:
Status: Closed Package: *Configuration Issues
PHP Version: 4.0.3pl1 OS: Linux/debian
Private report: No CVE-ID: None
 [2000-10-16 17:42 UTC] jeffrey dot hundstad at mnsu dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-25 15:07 UTC] sniper@php.net
What was the full configure line you used?

--Jani
 [2000-10-28 10:04 UTC] sniper@php.net
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.)

 [2000-11-01 09:48 UTC] sniper@php.net
I think this can now be closed as the GD extension
isn't enabled by default anymore.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC