Marc Herbert <[EMAIL PROTECTED]> writes: >> --- /usr/sbin/apache2ctl 2007/03/08 19:41:34 1.1 >> +++ /usr/sbin/apache2ctl 2007/03/12 14:26:04 >> @@ -41,7 +41,8 @@ >> # -------------------- -------------------- >> # >> # the path to your httpd binary, including options if necessary >> -HTTPD='/usr/sbin/apache2' >> +MYLIBS="/tmp/libmysequoia.so:/tmp/libcarob.so:/usr/lib/php5/20051025/mysqli.so:/usr/lib/apache2/modules/libphp5.so" >> +HTTPD="env LD_PRELOAD=$MYLIBS /usr/sbin/apache2" > > The next libmysequoia version (0.9.9?) as well as the current CVS code > don't need a such long MYLIBS line anymore. Now LD_PRELOAD-ing > just libmysequoia.so should be enough. > > > For those interested, now libmysequoia.so is linked by default to > libmysqlclient.so, which brings libmysqlclient in the same lookup > scope as libmysequoia whatever nasty RTLD_DEEPBIND flag or else PHP is > using.
This is wrong, apologies. This "solution" does not bring anything, I spoke too fast. I will undo it. Such long LD_PRELOAD lines are the only way found so far to work around the RTLD_DEEPBIND flag. The good news is that RTLD_DEEPBIND seems to be very linux-specific <http://sourceware.org/ml/libc-hacker/2004-09/msg00083.html>, so all other platforms should need to LD_PRELOAD only libmysequoia.so Expect a documentation more formal than a mailing-list archive shortly. _______________________________________________ Carob mailing list [email protected] https://forge.continuent.org/mailman/listinfo/carob
