|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22759 symbol dn_skipname: referenced symbol not found
Submitted: 2003-03-18 05:16 UTC Modified: 2003-03-18 11:47 UTC
From: silent at host dot sk Assigned:
Status: Closed Package: Apache related
PHP Version: 4.3.1 OS: Solaris 8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
41 + 47 = ?
Subscribe to this entry?

 [2003-03-18 05:16 UTC] silent at host dot sk

I had a problem running Apache with PHP module.

Apache and PHP compiles without any error, but if I enable the PHP module, I get this error message:

# /usr/local/apache/bin/apachectl start
Syntax error on line 236 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/ into server: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/libexec/ symbol dn_skipname: referenced symbol not found
/usr/local/apache/bin/apachectl start: httpd could not be started
Apache works without PHP module fine, but with PHP module not.

I found in the PHP configure script log these two lines:
checking for dn_skipname in -lresolv... no
checking for __dn_skipname in -lresolv... yes 

It looks like the compiled PHP module still uses dn_skipname instead of __dn_skipname. It is maybe a 'configure' script error. I found in dns.c a function call to dn_skipname, so I have change it from dn_skipname to __dn_skipname and then run 'make' and 'make install'

Now runs Apache with PHP module.

PHP configure line:
# ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs

Apache configure line:
# ./configure --enable-shared=max --enable-module=most 

my system: Solaris 8 on Sun Ultra1

some system information:


# LD_LIBRARY_PATH /usr/local/lib:/lib:/usr/lib:/usr/local/ssl/lib:/usr/include:/usr/local/include:/usr/local/mysql/lib:/usr/local/lib/gcc-lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1:/opt/sfw/lib:/opt/sfw/include

installed patches: 8_Recommended from 17.01.2003; + 108995-04, 109025-04, 109234-09, 111295-01, 111297-01

development tools:
gcc 2.95.3 or 3.2.1
binutils 2.11.2
automake 1.5 or 1.7.2
autoconf 2.13 or 2.57
libtool 1.4
bison 1.75
flex 2.5.4a
gawk 3.1.0
m4 1.4
make 3.80
sed 4.0
textinfo 4.2
zlib 1.1.4 

I don't know if this solution is correct, but it works.

This bug is in older versions too, I tryed versions 4.1.1, 4.2.3, 4.3.0, 4.3.1



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-18 11:47 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Feb 27 01:01:28 2024 UTC