PHP 4.0 Bug #8234 Updated: Unable to resolve DL_UNLOAD (dlclose)
| From: | sniper@php.net | Date: | Tue, 02 Jan 2001 14:01:19 +0000 |
| Subject: | PHP 4.0 Bug #8234 Updated: Unable to resolve DL_UNLOAD (dlclose) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42560@lists.php.net to get a copy of this message | ||
ID: 8234
Updated by: sniper
Reported By: mark.raine@amedd.army.mil
Old-Status: Open
Status: Feedback
Bug Type: Compile Failure
Assigned To:
Comments:
Please try PHP 4.0.4 as this should be fixed.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-13 10:30:23] mark.raine@amedd.army.mil
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8234