php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3241 Still had to put '-lresolv' specifically in the 'LIBS1=' line in Makefile
Submitted: 2000-01-18 06:04 UTC Modified: 2000-06-09 12:01 UTC
From: rbb at iseek dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Beta 3 OS: Linux 6.1
Private report: No CVE-ID: None
 [2000-01-18 06:04 UTC] rbb at iseek dot com
I had to explicitly put a reference to '-lresolv' in the Makefile.  I had to do this for Solaris as well
as Linux 6.1.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-23 13:30 UTC] sas at cvs dot php dot net
This is usually caused by compiling against the wrong set of headers (i.e. bind 4 headers, bind 8 libs). 

Specifying LIBS explicitly is usually not necessary, at least I don't have to do it anywhere (be it on Solaris, AIX, Linux, or *BSD).

I'd like to see further confirmation that there are valid cases where our autoconf detection fails (we do check for libresolv).

If you have further facts, please submit them to us.
 [2000-06-09 12:01 UTC] stas at cvs dot php dot net
no user feedback
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 19:00:01 2026 UTC