php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8234 Unable to resolve DL_UNLOAD (dlclose)
Submitted: 2000-12-13 10:30 UTC Modified: 2001-03-09 20:48 UTC
From: mark dot raine at amedd dot army dot mil Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3pl1 OS: HP-UX 11.0
Private report: No CVE-ID: None
 [2000-12-13 10:30 UTC] mark dot raine at amedd dot army dot 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 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-02 09:01 UTC] sniper@php.net
Please try PHP 4.0.4 as this should be fixed.

--Jani
 [2001-03-09 20:48 UTC] sniper@php.net
No feedback. Considered fixed.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 12:01:33 2025 UTC