|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-10-17 12:24 UTC] php4bugs at netanyahu dot 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 04:00:01 2026 UTC |
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.