From: [EMAIL PROTECTED] Operating system: Linux 2.2.5 PHP version: 4.0.4 PHP Bug Type: Compile Failure Bug description: undefined versioned symbol name __ns_name_unpack@@GLIBC2.1 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 -- Edit Bug report at: http://bugs.php.net/?id=8774&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]