|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jeffrey dot hundstad at mnsu dot edu
New email:
PHP Version: OS:


 [2000-10-16 17:42 UTC] jeffrey dot hundstad at mnsu dot edu
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


Add a Patch

Pull Requests

Add a Pull Request


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

 [2000-10-28 10:04 UTC]
User feedback:
I'm sorry I don't have that information anymore... it didn't reference the png libraries though...
that was automagically detected

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

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 22:01:28 2024 UTC