php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9544 undefined versioned symbol name __ns_name_unpack@@GLIBC_2.1
Submitted: 2001-03-04 08:20 UTC Modified: 2001-03-10 22:52 UTC
From: aelmahmoudy at iname dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
 [2001-03-04 08:20 UTC] aelmahmoudy at iname dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-05 00:45 UTC] aelmahmoudy at iname dot com
I use glibc 2.2
also this happened when I tried to compile php 4.0.3 for
Apache 1.3.14 with mod_ssl patch applied.
 [2001-03-10 22:52 UTC] sniper@php.net
Fixed in CVS. 

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 09:01:29 2024 UTC