PHP 4.0 Bug #8234: Unable to resolve DL_UNLOAD (dlclose)

From: Date: Wed, 13 Dec 2000 15:30:23 +0000
Subject: PHP 4.0 Bug #8234: Unable to resolve DL_UNLOAD (dlclose)
Groups: php.dev 
Request: Send a blank email to php-dev+get-41195@lists.php.net to get a copy of this message
From: mark.raine@amedd.army.mil Operating system: HP-UX 11.0 PHP version: 4.0.3pl1 PHP Bug Type: Compile Failure Bug description: Unable to resolve DL_UNLOAD (dlclose) On HP-UX 11.0, I use gcc for linking with Apache 1.3.14. Our application needs to be compiled to run on both 64 bit and 32 bit machines. When I run make for php, I get an error that DL_UNLOAD cannot be resolved. Having gone through some HP investigation, that symbol (actually dlcose is what DL_UNLOAD is defined as), I found that it is only located in a 64-bit libdl.sl library. I cannot use that. So, is there a -- option I can specify to not have the dl routines be used? Is there some 32 bit solution here that I am missing? The trouble seems to stem from the ext/java/java.c module and perhaps the Zend module. Here is the link statement with apache: gcc -DHPUX11 -DMOD_SSL=207101 -I/home/mraine/apache/php-4.0.3pl1 -I/home/mraine/apache/php-4.0.3pl1/main -I/home/mraine/apache/php-4.0.3pl1/main -I/home/mraine/apache/php-4.0.3pl1/Zend -I/home/mraine/apache/php-4.0.3pl1/Zend -I/home/mraine/apache/php-4.0.3pl1/TSRM -I/home/mraine/apache/php-4.0.3pl1/TSRM -I/home/mraine/apache/php-4.0.3pl1 -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED -DNO_IDEA ./apaci -L/usr/local/ssl/lib -o httpd buildmark.o modules.o modules/extra/libextra.a modules/proxy/libproxy.a modules/ssl/libssl.a modules/php4/libphp4.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a /home/mraine/apache/libcbinfsql.a -L/informix/runtm/lib -L/informix/runtm/lib/esql -L/home/mraine/apache/php-4.0.3pl1/ext/informix -L/informix/runtm/lib -L/informix/runtm/lib/esql -L/home/mraine/apache/php-4.0.3pl1/ext/informix -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -lm -lcrypt -lnsl -lixsql -lixasf -lixgen -lixos -lixgls -lnsl_s -lV3 -lcl -lsec -lphp_ifx -lixglx -lm -lpthread -ldbm -lssl -lcrypto -- Edit Bug report at: http://bugs.php.net/?id=8234&edit=1

« previous php.dev (#41195) next »