Re: DL_UNLOAD Undefined Symbol *BUG FIX*

From: Date: Wed, 18 Oct 2000 14:25:18 +0000
Subject: Re: DL_UNLOAD Undefined Symbol *BUG FIX*
References: 1 2 3  Groups: php.dev php.install 
Request: Send a blank email to php-dev+get-35427@lists.php.net to get a copy of this message
Hi, Modified the Zend/zend_extensions.c file (line144?) from static void zend_extension_startup(zend_extension *extension) { if (extension->startup) { if (extension->startup(extension)!=SUCCESS) { DL_UNLOAD(extension->handle); } } } to 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 } and it *seems* to compile and run ok now :o) Can one of you nice dev people make the change to the CVS if it's not been done already and assuming what I've done is correct ;) It's been causing quite a few people problems by the looks of it. Regards, - Paul - ----- Original Message ----- From: "James Greenhalgh" <james@xenon.ptel.co.uk> To: "Paul Gardiner" <Paul.Gardiner@BarleyChalu.co.uk> Cc: <ding_gl@china.com>; <php-install@lists.php.net> Sent: Wednesday, October 18, 2000 11:13 AM Subject: Re: [PHP-INST] DL_UNLOAD Undefined Symbol > It's one of the source files in Zend or ext/standard, they use DL_UNLOAD in a few soruce files, one of which doesnt have an #ifdef for HAVE_LIBDL, when it should have. > > james > (who can't give exact details because the machine is at home) > > On Wed, 18 Oct 2000 09:56:17 +0100 > "Paul Gardiner" <Paul.Gardiner@BarleyChalu.co.uk> wrote: > > > Hi, > > > > I've just tried to install 4.0.3pl1 and am getting the exact same problem > > when compiling with Apache. Reading the recent posts it seems it's a problem > > that's effecting several platforms and not just ours. I know 4.0.2 works so > > would suggest trying to install that for now. > > > > Regards, > > - Paul - > > > > ----- Original Message ----- > > From: "ding" <ding_gl@china.com> > > To: <php-install@lists.php.net> > > Sent: Wednesday, October 18, 2000 1:26 AM > > Subject: [PHP-INST] PHP-403 Install and Compile Problem(1) > > > > > > > > > > Hello php-install, > > > > > > PHP 4.0.3/4.0.3pl1 Installing and Compiling Failed on SCO OpenServer > > 5.0.4, > > > but PHP 4.0.2 built success using SCO cc(not gcc) in same install steps. > > > > > > Installation Messages: > > > > > > 1. Installation Environments > > > > > > OS : SCO OpenServer 5.0.4 > > > DB : Informix-ESQL/C 7.2x > > > Apache: 1.3.12(or 1.3.14) > > > PHP : 4.0.3 > > > > > > 2. Install Steps > > > > > > # INFORMIXDIR=/usr/informix > > > # export INFORMIXDIR > > > # PATH=$PATH:/usr/informix/bin > > > # export PATH > > > # cd /usr > > > # tar xvf /tmp/apache1.3.12 > > > # tar xvf /tmp/php4.0.3 > > > # cd /usr/apache_1.3.12 > > > # ./configure --prefix=/www > > > # cd /usr/php-4.0.3 > > > # ./configure --prefix=/usr --without-mysql --with-informix=/usr/informix > > > --with-apache=/usr/apache_1.3.12 --with-exec-dir=/usr/bin --enable-track-v > > ars > > > # make > > > # cd /usr/apache_1.3.12/src/modules > > > # rm -rf php4 > > > # cd /usr/php-4.0.3 > > > # make install > > > # cd /usr/apache_1.3.12 > > > # ./configure --prefix=/www --activate-module=src/modules/php4/libphp4.a > > > # cd /usr/apache_1.3.12 > > > # make > > > # make install > > > > > > ...... > > > > > > Undefined first referenced > > > symbol in file > > > DL_UNLOAD modules/php4/libphp4.a(zend_extensions.o) > > > httpd: fatal error: Symbol referencing errors. No output written to httpd > > > *** Error code 1 (bu21) > > > *** Error code 1 (bu21) > > > *** Error code 1 (bu21) > > > *** Error code 1 (bu21) > > > > > > -- > > > Best regards, > > > ding > > > mailto:ding_gl@china.com > > > > > > Oct. 18, 2000 > > > > > > > > > > > > -- > > > PHP Install Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-install-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > > For additional commands, e-mail: php-install-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > -- > James Greenhalgh - Unix Systems Architect > FIGHT THE RIP BILL! www.stand.org.uk Your privacy depends on it! > BOYCOTT THE PUMPS! www.boycott-the-pumps.com > * The views in this message are not those of Powernet International * >

« previous php.dev (#35427) next »