|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8559 dlerror previously defined
Submitted: 2001-01-04 19:57 UTC Modified: 2001-06-03 04:34 UTC
From: fang-pin dot chang at cyberdude dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4 OS: AIX 4.2.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: fang-pin dot chang at cyberdude dot com
New email:
PHP Version: OS:


 [2001-01-04 19:57 UTC] fang-pin dot chang at cyberdude dot com
The config line is

    ./configure --with-apxs=/usr/local/apache/bin/apxs \

I am using apache 1.3.14

This has been reported before, as a search on the string "dlfcn" in the bug database turns up several reports.  However, none of them have been with PHP 4.0.4.  Basically, when .../php-4.0.4/sapi/apache/sapi_apache.c is being compiled, you get the following:

In file included from /usr/local/apache/include/ap_config.h:116,
                 from /usr/local/apache/include/httpd.h:71,
                 from sapi_apache.c:32:
/usr/local/apache/include/os.h:122: conflicting types for `dlerror'
/usr/include/dlfcn.h:51: previous declaration of `dlerror'

I tried to trace down where dlfcn.h is being included prior to line 113

    #undef HAVE_DLFCN_H

in .../apache/include/os.h, but so far to no avail.  As a workaround, commenting out line 123 where it says

    const char *dlerror(void);

got the compile to work.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-03 04:34 UTC]
This should be fixed with PHP 4.0.6, please try the 
latest release candidate:


PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 02 17:03:35 2021 UTC