Re: [PHP-DEV] Two modules w/ different instances of same lib causes crash

2006-09-15 Thread Michael B Allen
On Fri, 15 Sep 2006 15:23:16 -0400 Michael B Allen <[EMAIL PROTECTED]> wrote: > So now, I have to wonder why my customer had a problem in the first place. > > Based on the above macros, is it possible that RTLD_DEEPBIND could NOT > be chosen? The customer is using 4.3.4 which did not have the RT

Re: [PHP-DEV] Two modules w/ different instances of same lib causes crash

2006-09-15 Thread Michael B Allen
RTLD_DEEPBIND fixes this problem using a test program and two minimalistic DSOs to emulate the namespace clash problem. But I see PHP has support for RTLD_DEEPBIND: # if defined(RTLD_GROUP) && defined(RTLD_WORLD) && defined(RTLD_PARENT) ... # elif defined(RTLD_DEEPBIND) ... # else ... # endif On

[PHP-DEV] Two modules w/ different instances of same lib causes crash

2006-09-15 Thread Michael B Allen
My extension (plexsso.so) is dymanically linked with a library. That library (libplexsso.so) is a statically linked collection of libs including a custom version of Heimdal Kerberos (libkrb5.a). I have found that if another module is linked with the stock Heimdal (e.g. pgsql.so dynamically in this