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

From: Date: Sun, 05 Nov 2000 21:56:16 +0000
Subject: PHP 4.0 Bug #7648: ld: Unsatisfied symbols: DL_UNLOAD
Groups: php.dev 
Request: Send a blank email to php-dev+get-37207@lists.php.net to get a copy of this message
From: cary@elocale.com Operating system: HP-UX 11 PHP version: 4.0.3pl1 PHP Bug Type: Compile Failure Bug description: ld: Unsatisfied symbols: DL_UNLOAD 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. -- Edit Bug report at: http://bugs.php.net/?id=7648&edit=1

« previous php.dev (#37207) next »