PHP 4.0 Bug #8774 Updated: undefined versioned symbol name __ns_name_unpack@@GLIBC2.1
| From: | sniper@php.net | Date: | Thu, 18 Jan 2001 11:25:10 +0000 |
| Subject: | PHP 4.0 Bug #8774 Updated: undefined versioned symbol name __ns_name_unpack@@GLIBC2.1 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44461@lists.php.net to get a copy of this message | ||
ID: 8774
Updated by: sniper
Reported By: mark@arcabama.com
Old-Status: Open
Status: Bogus
Bug Type: Compile Failure
Assigned To:
Comments:
This is not any bug in PHP. Your system is not
quite well atm. If you compile GLIBC then you
should know what you're doing. Otherwise it is
just asking for trouble.I suggest you reinstall
your system and use a newer distribution instead.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-17 21:03:23] mark@arcabama.com
PHP 4.0.4 will not compile on my linux system as a module, although it will compile into a
standalone executable.
The standalone configure script that I'm using is:
=================================
#! /bin/sh
#
# Created by configure
"./configure"
"--prefix=/usr"
"--with-config-file-path=/etc"
"--enable-calendar"
"--enable-force-cgi-redirect"
"--with-gd=/usr"
"--with-jpeg-dir=/usr"
"--with-mysql=/usr"
"--with-zlib=/usr"
"--with-png-dir=/usr"
"--with-regex=system"
"$@"
=================================
The module configure script that I'm using is:
=================================
#! /bin/sh
#
# Created by configure
"./configure"
"--prefix=/usr"
"--with-apxs=/usr/bin/apxs"
"--with-config-file-path=/etc"
"--enable-calendar"
"--with-gd=/usr"
"--with-jpeg-dir=/usr"
"--with-mysql=/usr"
"--with-zlib=/usr"
"--with-png-dir=/usr"
"--with-regex=system"
"--with-exec-dir=/home/httpd/php"
"$@"
====================
The module compile crashes in what appears to be the final link to build libphp, on the following
line with the following message:
================================
/bin/sh /usr/download/php-4.0.4/libtool --silent --mode=link gcc -I. -I/usr/download/php-4.0.4/ -I/
usr/download/php-4.0.4/main -I/usr/download/php-4.0.4 -I/usr/download/php-4.0.4/Zend -I/usr/include/
mysql -I/usr/download/php-4.0.4/ext/xml/expat/xmltok -I/usr/download/php-4.0.4/ext/xml/expat/xmlpars
e -I/usr/download/php-4.0.4/TSRM -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -DNO_DL_NEEDED -DXML_BYTE_ORDE
R=12 -g -O2 -o libphp4.la -rpath /usr/download/php-4.0.4/libs -avoid-version -L/usr/lib/mysql -R
/usr/lib/mysql stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la ext/calendar/libcale
ndar.la ext/gd/libgd.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 ext/zlib/libzlib.la TSRM/libtsrm.la -ldl
-lz -lmysqlclient -lpng -lz -lgd -ljpeg -lresolv -lbind -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib
-ljpeg
/usr/i586-pc-linux-gnu/bin/ld: .libs/libphp4.so: undefined versioned symbol name
__ns_name_unpack@@GLIBC_2.1
/usr/i586-pc-linux-gnu/bin/ld: failed to set dynamic section sizes: Bad value
=======================
I have tried quite a few things to fix this problem, including rebuilding and reinstalling the glibc
library (v2.1.3). When I run nm against libresolv, __ns_name_unpack doesn't have an explicit
version attached to it (i.e., it shows up as __ns_name_unpack, not __ns_name_unpack@@GLIBC_x.y).
- Mark
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8774