[Top][All Lists]

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

Re: dlopen on Solaris compared with IRIX/Tru64

From: Albert Chin-A-Young
Subject: Re: dlopen on Solaris compared with IRIX/Tru64
Date: Wed, 20 Dec 2000 15:03:24 -0600
User-agent: Mutt/1.1.12i

On Wed, Dec 20, 2000 at 01:54:04PM -0600, Albert Chin-A-Young wrote:
> On Wed, Dec 20, 2000 at 02:01:17PM -0500, Tom Kacvinsky wrote:
> > Huh?  My experience (on Solaris) has been that if has an
> > embedded RPATH and the application bar uses and also has a
> > RPATH, then the binary's RPATH is used for shared lib lookups.  If
> > the RPATH of the binary does not include the paths in the shared
> > lib's RPATH, then the shared lib's dependencies are not met. :( Or
> > maybe I am consfusing myself.  Perhaps this is Tru64 UNIX's
> > behavior.
> BTW, I posted the same message to comp.unix.solaris and it turns out
> there is a solution. In my code below, I dlopen and then
> This fails. has a hard-coded dependency on
> So, if I dlopen and then, everything
> works! Now, I don't think libtool embeds enough information in the
> *.la files to figure this out.
> My file looks like:
>   dlname=''
>   library_names=''
>   old_library='libz.a'
>   dependency_libs=''
> and looks like:
>   dlname=''
>   library_names=''
>   old_library='libpng.a'
>   dependency_libs=' -L/opt/TWWfsw/zlib11/lib /opt/TWWfsw/zlib11/lib/ 
> -lm'
> So, how can we make lt_dlopen load when we load
> Ok, why is dlname empty? Turns out that if:
>   dlname=''
> then lt_dlopen("") will work!

Ok, '-module' fills dlname.

albert chin (address@hidden)

reply via email to

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