libtool
[Top][All Lists]
Advanced

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

Re: question about AC_LTDL_SYS_DLOPEN_DEPLIBS


From: libtool
Subject: Re: question about AC_LTDL_SYS_DLOPEN_DEPLIBS
Date: Mon, 16 Jul 2001 10:30:40 -0500
User-agent: Mutt/1.2.5i

On Fri, Jul 13, 2001 at 04:09:28PM -0500, Tim Mooney wrote:
> In regard to: Re: question about AC_LTDL_SYS_DLOPEN_DEPLIBS, Gary V....:
> 
> >On Thursday 12 July 2001  8:12 pm, Tim Mooney wrote:
> >> I'm not 100% sure I know what
> >>
> >>    whether deplibs are loaded by dlopen
> >>
> >> means.  Does it mean:
> >>
> >>    If you explicitly load a shared object via dlopen(), are any shared
> >>    objects that it depends on loaded for you automatically?
> >
> >Yes, exactly that.
> 
> Does this macro apply at all to platforms that have some other mechanism
> of dynamically loading a shared object (e.g. HP-UX 10.x and earlier)?
> 
> The first paragraph of the dlopen() man page on Tru64 UNIX 5.1 (and 4.0f)
> says that
> 
> The dlopen function attempts to load the specified file in the address space
> of the process, resolving symbols as appropriate.  Any libraries that the
> specified file depends upon are also loaded.

The loader on Tru64 UNIX 5.0A and below will load not load dependent
libraries for a shared library. RPATH is honored for executables but
not for libraries. You'll need a test program to determine if this has
been "fixed" under 5.1 but I doubt it.

-- 
albert chin (address@hidden)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]