ID: 19937
Comment by: <span>nothanks at example dot com</span>
Reported By: ryan dot smith at openwave dot com
Status: No Feedback
Bug Type: Dynamic loading
Operating System: AIX 5.1
PHP Version: 4.3.0-dev
New Comment:
<b>Thanks</b> for this!
Previous Comments:
------------------------------------------------------------------------
[2008-09-23 11:57:44] eilaf_mugbil at hotmail dot com
eilaf
------------------------------------------------------------------------
[2006-04-21 07:04:45] jens_0 at hotmail dot com
Same thing here with Apache/1.3.31 (Unix) PHP/4.0.6 using HP-UX or AIX
concening libgd.so.
The extension won't load:
PHP Warning: Unable to load dynamic library
'/usr/local/lib/php/extensions/no-debug-non-zts/libgd.so' - Invalid
argument in Unknown on line 0
------------------------------------------------------------------------
[2003-07-18 18:49:39] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-07-10 18:08:00] sniper@php.net
Here's an url to it:
http://www.php.net/~jani/dlopen_patch.txt
------------------------------------------------------------------------
[2003-07-10 18:05:55] sniper@php.net
Could you try this patch:
Index: zend.h
===================================================================
RCS file: /repository/Zend/Attic/zend.h,v
retrieving revision 1.164.2.8
diff -u -r1.164.2.8 zend.h
--- zend.h 31 May 2003 01:37:43 -0000 1.164.2.8
+++ zend.h 10 Jul 2003 23:05:38 -0000
@@ -89,7 +89,11 @@
# define RTLD_GLOBAL 0
# endif
-# define DL_LOAD(libname) dlopen(libname,
RTLD_LAZY | RTLD_GLOBAL)
+# ifndef RTLD_PARENT
+# define RTLD_PARENT 0
+# endif
+
+# define DL_LOAD(libname) dlopen(libname,
RTLD_LAZY | RTLD_GLOBAL | RTLD_PARENT)
# define DL_UNLOAD dlclose
# if DLSYM_NEEDS_UNDERSCORE
# define DL_FETCH_SYMBOL(h,s) dlsym((h), "_" s)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/19937--
Edit this bug report at http://bugs.php.net/?id=19937&edit=1