php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12399 Linking against OS X port of libdl causes problems
Submitted: 2001-07-26 09:40 UTC Modified: 2001-11-03 21:44 UTC
From: halim at onemain dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.6 OS: MacOSX
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: halim at onemain dot com
New email:
PHP Version: OS:

 

 [2001-07-26 09:40 UTC] halim at onemain dot com
When compiling PHP under Mac OS X, you currently must move the OS X port of libdl to libdl.a.old and libdl.dylib.old to prevent PHP from using them. Apache on Darwin/OS X already defines it's own version of the dlopen functions, and if PHP links against the libdl from the OS X dlcompat library, Apache will fail to run, complaining about multiple definitions of dlopen.

This may be more of an Apache issue than a PHP issue?
I haven't tried compiling Apache yet using dlcompat's libdl instead of it's built-in dlopen stuff, but I might try that just to see if it works.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 09:44 UTC] halim at onemain dot com
Just to clarify, libdl for OS X is a separate library, not included with the OS, that provides the standard dlopen API to OS X software.  It is part of a package called dlcompat.  This bug is not at all a bug with dlcompat/libdl, just with the problem that PHP includes the dlopen function from both libdl and Apache's built-in dlopen that is enabled on the OS X port.
 [2001-11-03 21:44 UTC] sniper@php.net
Please check this instructions:

http://www.entropy.ch/software/macosx/php/#build


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 03:01:30 2024 UTC