Re: undefined symbol: __dn_expand ???

From: Date: Tue, 06 Feb 2001 19:44:22 +0000
Subject: Re: undefined symbol: __dn_expand ???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38421@lists.php.net to get a copy of this message
On Tue, 6 Feb 2001, Jeffrey Dyer wrote: > Hey, I'm on Mandrake 7.1. I installed PHP 4.0 without any errors, using > the following: ./configure --with-mysql=/usr/local/mysql > --with-apxs=/usr/local/apache/bin/apxs --with-gnu-ld make make install > > It seemed to go fine -- no errors during installation, however, when I > try to start apache I get the following error: Syntax error on line 207 > of /usr/local/apache/conf/httpd.conf: Cannot load > /usr/local/apache/libexec/libphp4.so into server: > /usr/local/apache/libexec/libphp4.so: undefined symbol: __dn_expand > ./apachectl start: httpd could not be started __dn_expand is a reslover function. The fix is almost certain to be to add -lresolv to the LIBS= line in your php makefile. --Steve

« previous php.general (#38421) next »