Re: PHP 4.0 Bug #7315: Linker fails on missing symbol DL_UNLOAD

From: Date: Wed, 18 Oct 2000 19:48:07 +0000
Subject: Re: PHP 4.0 Bug #7315: Linker fails on missing symbol DL_UNLOAD
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-35458@lists.php.net to get a copy of this message
That only makes sense if, in fact, you have dl support. The real fix, which has been folded into the Zend Engine is in zend_extensions.c and: 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 } masneyb@seul.org wrote: > > From: masneyb@seul.org > Operating system: Digital UNIX 4.0d > PHP version: 4.0.3pl1 > PHP Bug Type: Compile Failure > Bug description: Linker fails on missing symbol DL_UNLOAD > > When compiling stronghold webserver with php4 support, the linker fails that it cannot find > DL_UNLOAD. The only place this symbol was defined was in the php4 libraries. Configure (for php) did > not set HAVE_LIBDL (which is correct). Here is how I managed to fix this: Edit Zend/zend.h and at > line 84 add this: > > # define DL_UNLOAD > > > > -- > Edit Bug report at: http://bugs.php.net/?id=7315&edit=1 > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > -- =========================================================================== Jim Jagielski [|] jim@jaguNET.com [|] http://www.jaguNET.com/ "Are you suggesting coconuts migrate??"

« previous php.dev (#35458) next »