php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26022 Unable compile "dns.c", unable to link "libphp4.so"
Submitted: 2003-10-28 17:20 UTC Modified: 2003-10-28 17:37 UTC
From: dieter at fiebelkorn dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.3 OS: MacOS X 10.3 (Darwin 7.0)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dieter at fiebelkorn dot net
New email:
PHP Version: OS:

 

 [2003-10-28 17:20 UTC] dieter at fiebelkorn dot net
Description:
------------
On MacOS X 10.3 (Darwin 7.0) using gcc 3.3:

-----

Cannot compile "dns.c" (missing symbols T_MX and more).

Fixed by include:
  #include <nameser8_compat.h>
on "dns.c"

-----

Cannot link "libphp4.so" (unresolved symbols _res_9_...)

Fixed by add "-lresolv" to "EXTRA_LIBS" in "Makefile"

Reproduce code:
---------------
Take "Panther" and pure "PHP 4.3.3"!

Expected result:
----------------
libphp4.so

Actual result:
--------------
Error "undefined symbols"
Error "unresolved symbols"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-28 17:37 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

See bug #25955 (alread fixed in CVS)

And FYI: This is really a MacOSX bug as is. The official BIND release works fine..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Nov 30 22:00:01 2025 UTC