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 ([EMAIL PROTECTED])
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool