php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7050 DL_UNLOAD symbol not found
Submitted: 2000-10-06 01:18 UTC Modified: 2000-12-30 20:29 UTC
From: peter dot kocks at baygate dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3RC2 OS: Solaris 2.7
Private report: No CVE-ID: None
 [2000-10-06 01:18 UTC] peter dot kocks at baygate dot com
In compiling and running 4.0.3RC2, I get the following error.  This problem did not exist in 4.0.3RC1.

When launching apache, I get an error message:

Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/bin/httpd: fatal relocation error: file /usr/local/apache/libexec/libphp4.so: symbol DL_UNLOAD: referenced symbol not found

INFORMIXDIR=/opt/informix/prod ; export INFORMIXDIR ; \
        PATH=/opt/informix/prod/bin:$$PATH ; export PATH ; \
        LIBS="-L/usr/local/lib -L/opt/informix/prod/lib -L/opt/informix/prod/lib/esql -L/var/baygate/www/lib -R/usr/local/lib -R/opt/informix/prod/lib -R/opt/informix/prod/lib/esql -R/var/baygate/www/lib" ; export LIBS ; \
        EXTRA_LIBS="-lgd -lpng -lz" ; export EXTRA_LIBS ; \
        PROG_SENDMAIL=/usr/local/lib/sendmail ; export PROG_SENDMAIL ; \
        ./configure \
        --with-apxs=/usr/local/apache/bin/apxs \
        --with-config-file-path=/var/baygate/www/conf \
        --enable-track-vars \
        --enable-trans-sid \
        --without-mysql \
        --with-gd \
        --with-ttf \
        --with-ndbm \
        --with-informix=/opt/informix/prod \
        --with-system-regex \
        --enable-sysvsem \
        --enable-sysvshm )


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-16 13:49 UTC] jmoore@php.net
ON behalf of peter kocks
------------------------------------------
configure problems with dl() functions seem to come and go from release
candidate to release candidate.  I recall problems with this issue in the
early betas of php4 and now it seems to come and go depending on one's
selection of configure options.  For example, I found that by
adding --enable-shared=gd, to the above configure, the DL_UNLOAD() problem
went away.  I bet adding any enable-shared option would have worked.

I suspect the problem arizes out of subtle changes to some config.m4 file in
some extension.

Is there any good way that dl configure problems can be regression tested?
It would seem that would be the best way to catch thes things rather than
providing bug reports.  For example, this bug report will probably be
forgotten in a matter of weeks if it has not already.

 [2000-11-29 04:30 UTC] sniper@php.net
Could you please try latest snapshot from http://snaps.php.net/ to verify if this happens with
it or not? 

--Jani
 [2000-12-30 20:29 UTC] sniper@php.net
No feedback.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 30 05:00:02 2026 UTC