php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15741 Dynamic Library support not available
Submitted: 2002-02-26 19:10 UTC Modified: 2002-04-28 14:56 UTC
From: joelauer at simplewire dot com Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.1.1 OS: Mac OS X
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: joelauer at simplewire dot com
New email:
PHP Version: OS:

 

 [2002-02-26 19:10 UTC] joelauer at simplewire dot 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?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-26 21:23 UTC] 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 21:43 UTC] 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:59 UTC] joelauer at simplewire dot 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-03-10 12:57 UTC] 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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC