Re: [PHP-DEV] RTLD_NOW !!! From: rubys <email protected>
Date: 03/22/00

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 <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>