ID: 15741 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Analyzed +Status: Duplicate Bug Type: Dynamic loading Operating System: Mac OS X PHP Version: 4.1.1 New Comment:
This bug has been superceded by bugs 15986 and 15987. Please follow those bugs for information regarding the forthcoming fixes for the issue you've reported. Previous Comments: ------------------------------------------------------------------------ [2002-02-26 21:59:00] [EMAIL PROTECTED] Is there anyway that I can help? I've tried to download the CVS version, but it seems that I can't get proper versions of autoconf and some of the other tools to work. Has anyone gotten these to work to build the CVS version? ------------------------------------------------------------------------ [2002-02-26 21:43:10] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2002-02-26 21:23:44] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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
