From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.4pl1
PHP Bug Type:     Compile Failure
Bug description:  undefined versioned symbol name __ns_name_unpack@@GLIBC_2.1

Apache version: 1.3.19 with mod_ssl-2.8.1-1.3.19 applied
I configured PHP to be a DSO module :
./configure --prefix=/usr --with-mysql=/usr2/local --with-apxs=/usr/lib/apache/bin/apxs

when I run make, compilation is fine untill it reaches the
linking:
/bin/sh /usr2/src/php-4.0.4pl1/libtool --silent --mode=link gcc  -I. 
-I/usr2/src/php-4.0.4pl1/ -I/usr2/src/php-4.0.4pl1/main -I/usr2/src/php-4.0.4pl1 
-I/usr/lib/apache/include -I/usr2/src/php-4.0.4pl1/Zend -I/usr2/local/include/mysql 
-I/usr2/src/php-4.0.4pl1/ext/xml/expat/xmltok 
-I/usr2/src/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr2/src/php-4.0.4pl1/TSRM  
-DLINUX=22 -DMOD_SSL=208101 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g 
-O2   -o libphp4.la -rpath /usr2/src/php-4.0.4pl1/libs -avoid-version 
-L/usr2/local/lib/mysql  -R /usr2/local/lib/mysql stub.lo  Zend/libZend.la 
sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/mysql/libmysql.la 
ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la 
ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -ldl -lmysqlclient 
-lresolv -lbind -lm -ldl -lcrypt -lnsl -lresolv

then I get this error :

/usr/bin/ld: .libs/libphp4.so: undefined versioned symbol name 
__ns_name_unpack@@GLIBC_2.1
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr2/src/php-4.0.4pl1'
make: *** [all-recursive] Error 1


-- 
Edit Bug report at: http://bugs.php.net/?id=9544&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to