php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5148 make error: undefined versioned symbol name __ns_name_unpack@@GLIBC_2.1
Submitted: 2000-06-20 16:21 UTC Modified: 2000-07-31 15:07 UTC
From: adamek at webtrio dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.0 Release OS: Linux 2.2.14
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: adamek at webtrio dot de
New email:
PHP Version: OS:

 

 [2000-06-20 16:21 UTC] adamek at webtrio dot de
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-22 15:45 UTC] adamek at webtrio dot de
Meanwhile I found out that compiling PHP4 as a static CGI module works! (remove the --with-apxs option in the "configure" line)

I also noticed that trying to use the --with-apache option to get a static module in the httpd binary does not work, too (resulting in a cancellation of the compilation process of Apache with "make").
 [2000-06-23 11:39 UTC] adamek at webtrio dot de
Exchanged bintools with version 2.10

Used versions:

gcc 2.95-2
glibc 2.1.2-24
autoconf 2.13-57
automake 1.4-61

Still the same problem :-(
 [2000-07-31 15:07 UTC] sas@php.net
This is not a PHP issue. Either your header files don't match the installed GLIBC version, or an auxiliary library (i.e. pgsql) was compiled against a GLIBC version other than the installed one.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 22:00:02 2026 UTC