PHP 4.0 Bug #7648 Updated: ld: Unsatisfied symbols: DL_UNLOAD

From: Date: Tue, 02 Jan 2001 14:00:44 +0000
Subject: PHP 4.0 Bug #7648 Updated: ld: Unsatisfied symbols: DL_UNLOAD
Groups: php.dev 
Request: Send a blank email to php-dev+get-42558@lists.php.net to get a copy of this message
ID: 7648 Updated by: sniper Reported By: cary@elocale.com Old-Status: Open Status: Feedback Bug Type: Compile Failure Assigned To: Comments: Please try PHP 4.0.4 as this should be fixed. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-05 16:56:16] cary@elocale.com I was only able to compile Apache w/ PHP as a static module (on HP-UX 11 using GCC) after modifying the function zend_extension_startup in the Zend/zend_extensions.c file to include preprocessor lines concerning conditional support of Zend extensions. Modified code looks like this: static void zend_extension_startup(zend_extension *extension) { /* following line added */ #if ZEND_EXTENSIONS_SUPPORT if(extension->startup) { if(extension->startup(extension)!=SUCCESS) { DL_UNLOAD(extension->handle) } } /* following line added */ #endif } Before adding these lines I got the following error message when running make install on Apache after creating PHP as a static module: /usr/ccs/bin/ld: Unsatisfied symbols: DL_UNLOAD (code) collect2: ld returned 1 exit status *** Error exit code 1 Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7648

« previous php.dev (#42558) next »