Compilation problem - ns_name_unpack undefined?

From: Date: Tue, 19 Sep 2000 20:17:14 +0000
Subject: Compilation problem - ns_name_unpack undefined?
Groups: php.install 
Request: Send a blank email to php-install+get-2464@lists.php.net to get a copy of this message
Hi, I'm trying to compile php 4.0.2 (or 4.0.1, 4.0 - all the same) with this command line ./configure --prefix=%prefix \ --with-pgsql --with-zlib --with-apxs=/usr/local/apache/bin/apxs \ --with-java=/usr/java --with-imap --with-ldap --without-mysql and it gets all the way down to make[2]: Entering directory `/usr/src/redhat/build/php-4.0.2' /bin/sh /usr/src/redhat/BUILD/php-4.0.2/libtool --silent --mode=compile gcc -I. -I/usr/src/redhat/BUILD/php-4.0.2/ -I/usr/src/redhat/BUILD/php-4.0.2 -I/usr/src/redhat/BUILD/php-4.0.2/main -I/usr/local/apache/include -I/usr/src/redhat/BUILD/php-4.0.2/Zend -I/usr/src/redhat/BUILD/php-4.0.2 -I/usr/include/imap -I/usr/src/redhat/BUILD/php-4.0.2/ext/xml/expat/xmltok -I/usr/src/redhat/BUILD/php-4.0.2/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -O3 -m486 -s -c stub.c /bin/sh /usr/src/redhat/BUILD/php-4.0.2/libtool --silent --mode=link gcc -I. -I/usr/src/redhat/BUILD/php-4.0.2/ -I/usr/src/redhat/BUILD/php-4.0.2 -I/usr/src/redhat/BUILD/php-4.0.2/main -I/usr/local/apache/include -I/usr/src/redhat/BUILD/php-4.0.2/Zend -I/usr/src/redhat/BUILD/php-4.0.2 -I/usr/include/imap -I/usr/src/redhat/BUILD/php-4.0.2/ext/xml/expat/xmltok -I/usr/src/redhat/BUILD/php-4.0.2/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -O3 -m486 -s -o libphp4.la -rpath /usr/src/redhat/BUILD/php-4.0.2/libs -avoid-version -L/usr/java/jre/bin/classic -L/usr/java/jre/bin -L/usr/lib/pgsql -R /usr/java/jre/bin/classic -R /usr/java/jre/bin -R /usr/lib/pgsql stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/db/libdb.la ext/gd/libgd.la ext/imap/libimap.la ext/ldap/libldap.la ext/pcre/libpcre.la ext/pgsql/libpgsql.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la ext/zlib/libzlib.la -lgdbm -lpam -limap -ldl -lz -lpq -lldap -llber -lttf -lpng -lz -lgd -lresolv -lbind -lm -ldl -lcrypt -lnsl -lresolv /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 I've tried searching for __ns_name_unpack and I can only find it listed in both libresolv and libbind with nm as 00000518 T __ns_name_unpack I even tried removing these libraries from the php4 compile but that didn't seem to help. I've never had and problems with either of these libraries or compiling php3 - anyone got any ideas I should try? -- Matthew Harrell I no longer need to punish, deceive, Bit Twiddlers, Inc. or compromise myself, unless I want mharrell@bittwiddlers.com to stay employed.

« previous php.install (#2464) next »