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

Re: RFC: OpenLDAP build problems



Hi Brian, 

On Mon, Feb 10, 2003 at 10:12:58AM +1100, Brian May wrote:
> > > b) Why the heck does it try to relink libldap at all? 
> > > 
> > Short answer: libtool 1,4 has issues with DESTDIR.
> > 
> > We have patches to help, libtool 1.5 appears to fix all the problems but
> > introduces a whole new additional world of pain[0].
> 
> At one point in time it was because libtool wanted the compiled
> executable in the source tree to work. It did this by adding a -rpath to
> use the compiled version of the library in the source directory.
> 
> However, it obviously isn't good to install a binary on the computer
> with an -rpath that points to the source directory tree. So libtool
> would relink it with no -rpath on the install phase.

This is what I inferred from the actions of libtool as well. But: On
Linux you don't need this -rpath hack. You can specify LD_LIBRARY_PATH.
So if other broken architectures need this trick why is it used on 
Linux? But I should not argue this here, I guess this is the wrong forum
:)

Greetings

	Torsten

Attachment: pgpNmrURoETm2.pgp
Description: PGP signature


Reply to: