php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9199 'ld: No reference to __DYNAMIC' error
Submitted: 2001-02-09 18:04 UTC Modified: 2001-06-21 23:47 UTC
From: andrew at suspicious dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: OpenBSD 2.8
Private report: No CVE-ID: None
 [2001-02-09 18:04 UTC] andrew at suspicious dot org
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-09 18:30 UTC] andrew at suspicious dot org
This also occurs with only './configure --with-apxs'.
 [2001-06-03 04:50 UTC] sniper@php.net
Please try the latest release candidate:

http://www.php.net/~andi/php-4.0.6RC2.tar.gz

-Jani

 [2001-06-21 23:47 UTC] sniper@php.net
Reopen if PHP 4.0.6 doesn't work either.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 04:01:28 2024 UTC