PHP 4.0 Bug #5148: make error: undefined versioned symbol name __ns_name_unpack@@GLIBC_2.1

From: Date: Tue, 20 Jun 2000 14:21:42 +0000
Subject: PHP 4.0 Bug #5148: make error: undefined versioned symbol name __ns_name_unpack@@GLIBC_2.1
Groups: php.dev 
Request: Send a blank email to php-dev+get-21837@lists.php.net to get a copy of this message
From: adamek@webtrio.de Operating system: Linux 2.2.14 PHP version: 4.0.0 Release PHP Bug Type: Compile Failure Bug description: make error: undefined versioned symbol name __ns_name_unpack@@GLIBC_2.1 Hi! After configuring PHP4 as DSO with ./configure --with-apxs=/usr/local/apache1.3.12/bin/apxs --with-mysql=/usr \ --enable-bcmath --with-zlib --with-mhash=/usr/local --with-imap --with-gd=/usr/local \ --with-recode --with-pgsql=/usr/local/pgsql --with-swf=/usr/local/lib --with-xml \ --with-config-file-path=/usr/local/php --enable-track-vars --enable-magic-quotes \ --enable-dmalloc --with-cybercash=/usr/local --with-gdbm --with-ndbm \ --with-dbm --enable-dbase --enable-ftp --with-jpeg-dir=/usr/local --with-ttf=/usr/local \ --with-java=/usr/lib/java --with-pdflib=/usr/local --with-zlib-dir=/usr/local --with-mcrypt=/usr/local \ --with-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-tiff-dir=/usr/local --with-readline \ --with-regex=apache --enable-sysvsem --enable-wddx --enable-memory-limit at the beginning it works fine. When trying to "make" the following happens: helios:/pakete/php-4.0.0 # make (...) /bin/sh /pakete/php-4.0.0/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I/pakete/php-4.0.0/ -I/pakete/php-4.0.0 -I/usr/local/apache1.3.12/include -I/pakete/php-4.0.0/Zend -I/pakete/php-4.0.0 -I/usr/local/include/freetype -I/usr/local/include -I/usr/include/imap -I/usr/include/mysql -I/usr/local/lib/include -I/pakete/php-4.0.0/ext/xml/expat/xmltok -I/pakete/php-4.0.0/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -g -O2 -DDMALLOC_FUNC_CHECK -Wall -c php_virtual_cwd.c /bin/sh /pakete/php-4.0.0/libtool --silent --mode=link gcc -g -O2 -DDMALLOC_FUNC_CHECK -Wall -o libphp4.la -rpath /pakete/php-4.0.0/libs -avoid-version -L/usr/local/lib -L/usr/lib/mysql -L/usr/local/pgsql/lib -R /usr/local/lib -R /usr/lib/mysql -R /usr/local/pgsql/lib main.lo internal_functions.lo snprintf.lo php_sprintf.lo configuration-parser.lo configuration-scanner.lo safe_mode.lo fopen-wrappers.lo php_realpath.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo php_content_types.lo strlcpy.lo strlcat.lo mergesort.lo reentrancy.lo php_variables.lo php_ticks.lo php_virtual_cwd.lo Zend/libZend.la sapi/apache/libsapi.la ext/bcmath/libbcmath.la ext/db/libdb.la ext/dba/libdba.la ext/dbase/libdbase.la ext/ftp/libftp.la ext/gd/libgd.la ext/imap/libimap.la ext/mcrypt/libmcrypt.la ext/mhash/libmhash.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/pdf/libpdf.la ext/pgsql/libpgsql.la ext/posix/libposix.la ext/readline/libreadline.la ext/recode/librecode.la ext/session/libsession.la ext/standard/libstandard.la ext/swf/libswf.la ext/sysvsem/libsysvsem.la ext/wddx/libwddx.la ext/xml/libxml.la ext/zlib/libzlib.la -lgdbm -lpam -lrecode -lc-client -ldl -lswf -lreadline -lhistory -lncurses -lpq -lpdf -ltiff -lmysqlclient -lmhash -lmcrypt -lttf -ljpeg -lpng -lz -lgd -lgdbm -ldmalloc -lresolv -lbind -lm -ldl -lcrypt -lnsl -lresolv -L/usr/local/lib -ljpeg -lz -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -L/usr/local/lib -ltiff /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 `/pakete/php-4.0.0' make: *** [all-recursive] Error 1 helios:/pakete/php-4.0.0 # When I try to call the last command "libtool" manually with the "--debug" option, I see that the last gcc linked call fails. Any suggestions?? Thanks Thomas Adamek

« previous php.dev (#21837) next »