Bug #12399: Linking against OS X port of libdl causes problems
| From: | halim at onemain dot com | Date: | Thu, 26 Jul 2001 13:40:46 +0000 |
| Subject: | Bug #12399: Linking against OS X port of libdl causes problems | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-61059@lists.php.net to get a copy of this message | ||
From: halim@onemain.com
Operating system: MacOSX
PHP version: 4.0.6
PHP Bug Type: Dynamic loading
Bug description: Linking against OS X port of libdl causes problems
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.
--
Edit bug report at: http://bugs.php.net/?id=12399&edit=1