RE: [PHP-INST] Unresolved symbol: DL_UNLOAD (code) in php-4.0.3pl 1

From: Date: Thu, 02 Nov 2000 09:17:50 +0000
Subject: RE: [PHP-INST] Unresolved symbol: DL_UNLOAD (code) in php-4.0.3pl 1
Groups: php.general php.install 
Request: Send a blank email to php-general+get-23358@lists.php.net to get a copy of this message
Salam, I have had similar problem and I receive this message and it's worked great for me : > 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 - > -----Message d'origine----- De : Mike Dunphy [mailto:mjd@hpcvsmjd.cv.hp.com] Envoyé : mercredi 1 novembre 2000 19:40 À : php-general@lists.php.net; php-install@lists.php.net Objet : [PHP-INST] 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 --with-gd=/opt/gd --with-png-dir=/opt/libpng --with-xpm-dir=/opt/xpm --with-ttf=/opt/freetype --with-jpeg-dir=/opt/jpeg-6 Any information is appreciated. Cheers -mjd -- 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

« previous php.general (#23358) next »