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: Albert Chin-A-Young
Subject: Re: dlopen on Solaris compared with IRIX/Tru64
Date: Wed, 20 Dec 2000 15:06:00 -0600
User-agent: Mutt/1.1.12i

On Wed, Dec 20, 2000 at 09:53:42PM +0100, Bjoern Fischer wrote:
> > BTW, I posted the same message to comp.unix.solaris and it turns out
> > there is a solution. In my code below, I dlopen libz.so and then
> > libpng.so. This fails. libpng.so has a hard-coded dependency on
> > libz.so.2. So, if I dlopen libz.so.2 and then libpng.so, everything
> > works! Now, I don't think libtool embeds enough information in the
> > *.la files to figure this out.
> 
> This works, but it is a hack. The proper solution is to fix libpng.so.
> Early libtool versions have no or bad support for hardcoding RPATHs
> into shared objects.

Not all systems allow you to embed RPATH in a library. Tru64 UNIX 4.0D
is one. I think libtool 1.4 and above allow you to embed RPATH.

-- 
albert chin (address@hidden)



reply via email to

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