PHP 4.0 Bug #7285 Updated: Unsatisfied symbols: DL_UNLOAD (code) on building the php Interptreter

From: Date: Wed, 18 Oct 2000 12:59:38 +0000
Subject: PHP 4.0 Bug #7285 Updated: Unsatisfied symbols: DL_UNLOAD (code) on building the php Interptreter
Groups: php.dev 
Request: Send a blank email to php-dev+get-35417@lists.php.net to get a copy of this message
ID: 7285 Updated by: jimjag Reported By: php4bugs@netanyahu.com Status: Closed Bug Type: Compile Failure Assigned To: Comments: This is due to a bug in the Zend/zend_extensions.c file which doesn't wrap the use of DL_UNLOAD correctly. This has been fixed in CVS but to patch your local version, just edit your zend_extensions.c file (around line 142) to look like the below: . static void zend_extension_startup(zend_extension *extension) { #if ZEND_EXTENSIONS_SUPPORT if (extension->startup) { if (extension->startup(extension)!=SUCCESS) { DL_UNLOAD(extension->handle); } } #endif } . Note the addition of the 2 preprocessor lines. You will now be able to compile. Previous Comments: --------------------------------------------------------------------------- [2000-10-17 12:24:57] php4bugs@netanyahu.com On HPUX 11.00 trying to build the standalone Php Interptreter with IMAP support. I tried the following with the new 4.0.3pl1 and I get the following error, this worked great with 4.0.2. I did a clean untar and compile everytime. Please help, let me know if there are any other files you would like me to send you.. Thanks Here are the configure and make outputs: ./configure --prefix=/opt/php --with-imap=./imap --enable-sigchild --disable-debug --without-mysql make Making all in . /bin/sh /opt/php/work/php-4.0.3pl1/libtool --silent --mode=link cc -I. -I/opt/php/work/php-4.0.3pl1/ -I/opt/php/work/php-4.0.3pl1 -I/opt/php/work/php-4.0.3pl1/main -I/opt/php/work/php-4.0.3pl1/Zend -I/opt/php/work/php-4.0.3pl1 -I/opt/php/work/php-4.0.3pl1/imap/include -I/opt/php/work/php-4.0.3pl1/ext/xml/expat/xmltok -I/opt/php/work/php-4.0.3pl1/ext/xml/expat/xmlparse -I/opt/php/work/php-4.0.3pl1/TSRM -DXML_BYTE_ORDER=21 -g -o libphp4.la -rpath /opt/php/work/php-4.0.3pl1/libs -L/opt/php/work/php-4.0.3pl1/imap/lib -R /opt/php/work/php-4.0.3pl1/imap/lib stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex/libregex.la ext/imap/libimap.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -lpam -lc-client -lm -lcrypt -lnsl /bin/sh /opt/php/work/php-4.0.3pl1/libtool --silent --mode=link cc -I. -I/opt/php/work/php-4.0.3pl1/ -I/opt/php/work/php-4.0.3pl1 -I/opt/php/work/php-4.0.3pl1/main -I/opt/php/work/php-4.0.3pl1/Zend -I/opt/php/work/php-4.0.3pl1 -I/opt/php/work/php-4.0.3pl1/imap/include -I/opt/php/work/php-4.0.3pl1/ext/xml/expat/xmltok -I/opt/php/work/php-4.0.3pl1/ext/xml/expat/xmlparse -I/opt/php/work/php-4.0.3pl1/TSRM -DXML_BYTE_ORDER=21 -g -o php -export-dynamic stub.lo libphp4.la /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (stub.o) was detected. The linked output may not run on a PA 1.x system. /usr/ccs/bin/ld: Unsatisfied symbols: DL_UNLOAD (code) *** Error exit code 1 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7285

« previous php.dev (#35417) next »