Re: RTLD_NOW !!!

From: Date: Wed, 22 Mar 2000 21:05:05 +0000
Subject: Re: RTLD_NOW !!!
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-17154@lists.php.net to get a copy of this message
I'm not sure RTLD_GLOBAL is necessary but if you say it is then add it. Please make sure your change is consistent with ext/standard/dl.c You might need to move the following around: #ifndef RTLD_LAZY
#define RTLD_LAZY 1    /* Solaris 1, FreeBSD's (2.1.7.1 and older) */
#endif #ifndef RTLD_NOW /* Fixes compile problem on FreeBSD */ #define RTLD_NOW RTLD_LAZY #endif Maybe to zend.h? Andi At 09:39 AM 3/22/00 -0500, rubys@us.ibm.com wrote:
Andi Gutmans wrote: If no one has any problem with moving back to RTLD_LAZY then please feel free to change zend.h and nuke the define in the top of dl.c for RTLD_NOW. Having spent several days now in the Unix equivalent of "DLL Hell", and studying of PHP's logic (past and present) as well as Apache's, I'd like to change it to RTLD_LAZY|RTLD_GLOBAL. More specifically: #if defined(HAVE_LIBDL) # ifndef RTLD_LAZY # define RTLD_LAZY 1 # endif # ifndef RTLD_GLOBAL # define RTLD_GLOBAL 0 # endif # define DL_LOAD(libname) dlopen(libname, RTLD_LAZY | RTLD_GLOBAL) - Sam Ruby -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#17154) next »