libtool
[Top][All Lists]
Advanced

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

Re: dlopen on Solaris compared with IRIX/Tru64


From: Bjoern Fischer
Subject: Re: dlopen on Solaris compared with IRIX/Tru64
Date: Thu, 21 Dec 2000 02:31:35 +0100
User-agent: Mutt/1.2.5i

>      once at process startup, and from a runpath  setting  within
>      the object from which the call to dlopen() originated. These
>      search rules will only be applied to path names that do  not
>      contain  an  embedded   '/'.  Objects whose names resolve to
[...]
>     ... and from a runpath setting within the object from which
>     the call to dlopen() originated.
> 
> That is, the RPATH used is the RPATH from the binary which invokes
> dlopen, and the RPATHs in the shared object dependencies is not
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
eh, the dlopened object's RPATH?

> used at all.  Unless the man page is in error.

The man page is wrong here. The RPATH of the dlopened object
*is* searched. You can prove it yourself with this tiny (~1K)
example, that I wrote as an indicator for run-time linkers,
that do *not* search the dlopened object RPATH:

http://www.TechFak.Uni-Bielefeld.DE/~bfischer/dlopen-bug.tar.gz

  Bjoern Fischer

-- 
-----BEGIN GEEK CODE BLOCK-----
GCS d--(+) s++: a- C+++(-) UB++++OSI++++$ P+++(-) L---(++) !E W- N+ o>+
K- !w !O !M !V  PS++  PE-  PGP++  t+++  !5 X++ tv- b+++ D++ G e+ h-- y+ 
------END GEEK CODE BLOCK------



reply via email to

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