PHP 4.0 Bug #9199: 'ld: No reference to __DYNAMIC' error
| From: | andrew at suspicious dot org | Date: | Fri, 09 Feb 2001 23:04:27 +0000 |
| Subject: | PHP 4.0 Bug #9199: 'ld: No reference to __DYNAMIC' error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46111@lists.php.net to get a copy of this message | ||
From: andrew@suspicious.org
Operating system: OpenBSD 2.8
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: 'ld: No reference to __DYNAMIC' error
I configured with './configure --with-apxs --with-mysql' successfully.
I type 'gmake', and most of it builds.
Then I get:
Making all in .
gmake[1]: Entering directory `/usr/home/andrew/src/php-4.0.4pl1'
/bin/sh /usr/home/andrew/src/php-4.0.4pl1/libtool --silent --mode=compile gcc -I.
-I/usr/home/andrew/src/php-4.0.4pl1/ -I/usr/home/andrew/src/php-4.0.4pl1/main
-I/usr/home/andrew/src/php-4.0.4pl1 -I/usr/lib/apache/include
-I/usr/home/andrew/src/php-4.0.4pl1/Zend -I/usr/home/andrew/src/php-4.0.4pl1/ext/mysql/libmysql
-I/usr/home/andrew/src/php-4.0.4pl1/ext/xml/expat/xmltok
-I/usr/home/andrew/src/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/home/andrew/src/php-4.0.4pl1/TSRM
-DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -c stub.c
/bin/sh /usr/home/andrew/src/php-4.0.4pl1/libtool --silent --mode=link gcc -I.
-I/usr/home/andrew/src/php-4.0.4pl1/ -I/usr/home/andrew/src/php-4.0.4pl1/main
-I/usr/home/andrew/src/php-4.0.4pl1 -I/usr/lib/apache/include
-I/usr/home/andrew/src/php-4.0.4pl1/Zend -I/usr/home/andrew/src/php-4.0.4pl1/ext/mysql/libmysql
-I/usr/home/andrew/src/php-4.0.4pl1/ext/xml/expat/xmltok
-I/usr/home/andrew/src/php-4.0.4pl1/ext/xml/expat/xmlparse -I/usr/home/andrew/src/php-4.0.4pl1/TSRM
-DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -DXML_BYTE_ORDER=12 -g -O2 -o
libphp4.la -rpath /usr/home/andrew/src/php-4.0.4pl1/libs -avoid-version stub.lo Zend/libZend.la
sapi/apache/libsapi.la main/libmain.la regex/libregex.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
TSRM/libtsrm.la -lresolv -lm -lresolv
ld: No reference to __DYNAMIC
collect2: ld returned 1 exit status
gmake[1]: *** [libphp4.la] Error 1
gmake[1]: Leaving directory `/usr/home/andrew/src/php-4.0.4pl1'
gmake: *** [all-recursive] Error 1
--
This happens with 'gmake' and 'make' (bsd make).
This error did not occur with 4.0.2.
--
Edit Bug report at: http://bugs.php.net/?id=9199&edit=1