[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .so and .a libs, tcl, postgres = in over my head



On Mon, 6 Jul 1998, David Welton wrote:

> Hrmm, well, actually it does seem to work.  Maybe this has to do with
> the RTLD_GLOBAL patch?  Previously, it did not work.  Hrmm

No, this has nothing to do with RTLD_GLOBAL, and it worked previously. The
library the module is linked against doesn't need any symbols from the
module. From the dlopen manpage:

       External  references in the library are resolved using the
       libraries in that library's dependency list and any  other
                         ^^^^^^^^^^^^^^^^^^^^^^^^^
                    /* this is linking against a library */
       libraries previously opened with the RTLD_GLOBAL flag.
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
And this is the case when additionally loaded module depends on a 
previously loaded module (the other way round).

--
Madarasz Gergely           gorgo@caesar.elte.hu         gorgo@linux.rulez.org
      It's practically impossible to look at a penguin and feel angry.
          Egy pingvinre gyakorlatilag lehetetlen haragosan nezni.
              HuLUG: http://www.cab.u-szeged.hu/local/linux/


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: