|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #36031 considere using dl function instead of dyld fonctions
Submitted: 2006-01-16 13:35 UTC Modified: 2016-12-30 23:31 UTC
From: jddupas at yahoo dot fr Assigned:
Status: Open Package: Dynamic loading
PHP Version: 5.1.2 OS: Mac OS X.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
3 + 40 = ?
Subscribe to this entry?

 [2006-01-16 13:35 UTC] jddupas at yahoo dot fr
Apple Mac OS X documentation says about dyld functions : "These functions are for loading Mach-O bundle files. They are declared in /usr/include/mach-o/dyld.h. The use of these functions is discouraged."

And they also says about the dl functions (dlopen family) "These are the recommended functions to use to interact with the dynamic loader.[...]in Mac OS X v10.4 they are more efficient than other image-loading functions."

So it would be better to change conditional compilation in zend.h (and where needed) to use dlfcn.h if dlfcn.h and dyld.h are both present instead of using dyld.h


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:31 UTC]
-Package: Feature/Change Request +Package: Dynamic loading
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jul 06 21:01:04 2020 UTC