Bug #15741 Updated: Dynamic Library support not available
| From: | kalowsky@php.net | Date: | Wed, 27 Feb 2002 02:43:11 +0000 |
| Subject: | Bug #15741 Updated: Dynamic Library support not available | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1143@lists.php.net to get a copy of this message | ||
ID: 15741
Updated by: kalowsky@php.net
Reported By: joelauer@simplewire.com
-Status: Open
+Status: Analyzed
Bug Type: Dynamic loading
Operating System: Mac OS X
PHP Version: 4.1.1
New Comment:
This is a bigger problem then what you are making it sound to be. I
have a patch created to add support for the DYLD system. Unfortunately
that doesn't mean your extensions will work, as there are still some
libtool problems which need to be corrected (supposedly in 1.4.2).
There is also a duplicate symbol error, which needs to be corrected
before your DYLD will work.
So... ahhh... bare with us, while we try to get this implemented and
realize it is being worked up :)
And technically the statement "Dynamic Library support not available"
is correct. MacOSX doesn't have the dlfcn.h file, nor the dlopen and
friends extensions. At the time of 4.1.1 release that was the only
check being done for dynamic loading.
Previous Comments:
------------------------------------------------------------------------
[2002-02-26 21:23:44] yohgaki@php.net
Since there are less develpers working for Mac OS X (if there is :)
Mac OS X support is poor.
We are welcome if you could submit config patches for Mac OS X.
------------------------------------------------------------------------
[2002-02-26 19:10:33] joelauer@simplewire.com
It seems as though ALL PHP versions that I have tried on the new Mac OS
X don't support dynamic library support. This means that extensions
cannot be loaded at startup time OR with the dl() function call. Its
extremely important that this function works in order for my software
to work. When I run phpinfo.php this is the message that shows up:
Dynamic Library support not available
However, this statement isn't true. Darwin and Mac OS X definitely
supports dynamic loading of libraries. Mac OS X lets you either use
".dylib" or ".so" extensions. ".so" is the one that you want. For
example, Apache can load modules at startup, so why can't PHP?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15741&edit=1