Bug #15741 Updated: Dynamic Library support not available

From: Date: Sun, 28 Apr 2002 18:56:27 +0000
Subject: Bug #15741 Updated: Dynamic Library support not available
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6357@lists.php.net to get a copy of this message
ID: 15741 Updated by: sniper@php.net Reported By: joelauer@simplewire.com -Status: Duplicate +Status: Closed Bug Type: Dynamic loading Operating System: Mac OS X PHP Version: 4.1.1 Previous Comments: ------------------------------------------------------------------------ [2002-03-10 12:57:01] markonen@php.net 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. ------------------------------------------------------------------------ [2002-02-26 21:59:00] joelauer@simplewire.com 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] kalowsky@php.net 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] 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

« previous php.bugs (#6357) next »