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

Re: What hack in ld.so?



On 30 Jan 1999, Alexandre Oliva wrote:

> On Jan 30, 1999, Jason Gunthorpe <jgg@ualberta.ca> wrote:
> >
> > If you wish to make statement that binaries compiled with libtool work
> > only on the host they were compiled for and even then only in specific
> > conditions then fine - but that makes it totaly unsuitable for use by any
> > of the binary distribution maker.
> 
> That's not what I'd like libtool to do.  I agree there is a problem to 
> be fixed, I just think that libtool is not the only piece of software
> that may have to be changed to fix it, because it is not the only
> piece of software that uses -rpath.

libtool is however the only piece of software that we cannot easially
change.

> When users of other distributions installed their pre-compiled .dev
> packages, programs that would run on Devian distributions would not
> run in any other, because /dev/lib is not listed in /etc/ld.so.conf,
> and libtool had failed to add /dev/lib to the rpath of Devian
> programs.  Who's to blame for that?

It doesn't really matter who is to blame because it -can- be fixed and
fixed fairly easially by the installer, the -rpath situation -cannot- be
fixed at all by the installer, I think that is the key difference to
realize.

Jason


Reply to: