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 ([EMAIL PROTECTED])

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to