You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Theo E. Schlossnagle" <je...@omniti.com> on 2001/01/04 04:46:15 UTC

Re: mod_so/7008: Hard-coded dlopen flags (RTLD_GLOBAL) Ref: mod_so.c and unix.c

If you dlopen mod_backhand.so and then mod_backhand goes and dl_open()'s other
shared objects, things can get screwy.  Solaris is really picky about this.  I
still have problems with mod_backhand not being able to dynamically load
candidacy functions if mod_backhand itself is shared on Solaris.  For some
reason if you dlopen() with RTLD_GLOBAL, things play much nicer.

Tony Finch wrote:
> revision 1.12
> date: 1998/07/10 18:29:50;  author: rasmus;  state: Exp;  lines: +2 -2
> Set the RTLD_GLOBAL dlopen mode parameter to allow dynamically loaded
> modules to load their own modules dynamically.  This improves mod_perl
> and mod_php3 when these modules are loaded dynamically into Apache.

-- 
Theo Schlossnagle
1024D/A8EBCF8F/13BD 8C08 6BE2 629A 527E  2DC2 72C2 AD05 A8EB CF8F
2047R/33131B65/71 F7 95 64 49 76 5D BA  3D 90 B9 9F BE 27 24 E7