Re: Unresolved symbol: DL_UNLOAD (code) in php-4.0.3pl1

From: Date: Thu, 02 Nov 2000 08:37:30 +0000
Subject: Re: Unresolved symbol: DL_UNLOAD (code) in php-4.0.3pl1
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-579@lists.php.net to get a copy of this message
Hi Mike, This has caused problems for a great number of people to the extent that perhaps pl2 should have been released so you're not alone. Below is a previous post I sent to the list and has made people smile again :o). I believe the CVS fix is slightly different but this will do the same job - exclude the unwanted code. Regards, - Paul - I believe this has been fixed in CVS but you can do the following mod which should sort this problem out. Modify 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 *should* compile and run ok :o) Best regards, - Paul - ----- Original Message ----- From: "Mike Dunphy" <mjd@hpcvsmjd.cv.hp.com> To: <php-general@lists.php.net>; <php-install@lists.php.net> Sent: Wednesday, November 01, 2000 7:40 PM Subject: [PHP] Unresolved symbol: DL_UNLOAD (code) in php-4.0.3pl1 > Hello, > > In attempt to get jpeg stuff working with PHP and GD 1.8.3 > I unpacked and compiled the latest php .. php-4.0.3pl1 > > However when I compile it and then install it the apache > fails the configtest for this error. > > /usr/lib/dld.sl: Unresolved symbol: DL_UNLOAD (code) from /opt/Apache/libexec/l > ibphp4.so > > I see that DL_UNLOAD is called in php-4.0.3pl1/ext/standard/dl.c > and defined in php-4.0.3pl1/Zend/zend.h > > Has anyone else seen this problem ? Should I just include zend.h ? > > I was running, and still have php-4.0.2 which runs fine except I cannot > get jpeg stuff to work ... only pnp i.e. this > > <?php > if (ImageTypes() & IMG_PNG) { > echo "PNG Support is enabled"; > } > if (ImageTypes() & IMG_GIF) { > echo "GIF Support is enabled"; > } > if (ImageTypes() & IMG_JPG) { > echo "JPG Support is enabled"; > } > if (ImageTypes() & IMG_WBMP) { > echo "WBMP Support is enabled"; > } > ?> > > only returns PNG and WBMP ... I know why GIF isn't supported. > > I am installing on HP-UX 10.20 ... here is my configure options. > > ./configure --with-mysql --with-apxs=/opt/Apache/bin/apxs --with-gd=yes --w ith-gd=/opt/gd --with-png-dir=/opt/libpng --with-xpm-dir=/opt/xpm --with-t tf=/opt/freetype --with-jpeg-dir=/opt/jpeg-6 > > Any information is appreciated. > > Cheers > -mjd > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.install (#579) next »