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

RE: -rpath with libtool and Debian Linux



> -----Original Message-----
> From: John Goerzen [mailto:jgoerzen@complete.org]
> Sent: Wednesday, February 03, 1999 2:15 AM
> To: Ian Lance Taylor
> Cc: oliva@dcc.unicamp.br; che@debian.org; 
> debian-devel@lists.debian.org;
> yosh@gimp.org; james@nocrew.org; bug-libtool@gnu.org;
> libtool@packages.debian.org
> Subject: Re: -rpath with libtool and Debian Linux
> 
> 
> On Tue, Feb 02, 1999 at 07:34:32PM -0500, Ian Lance Taylor wrote:
> 
> >    I, and others, have already proposed a simple solution: 
> add a command-line
> >    option to disable rpath.  A *better* solution would be 
> to disable it where
> >    it is not needed.
> > 
> > Good.  Alexandre has already said that he will accept a patch to
> > disable -rpath for any directory listed in /etc/ld.so.conf.  I
> > encourage you and/or others who care to write this patch.  Then the
> > problem will be solved, without requiring further hyperbole.
> > 
> > Another simple solution would be to tweak the Debian 
> dynamic linker in
> > the same way that the RedHat dynamic linker was tweaked, as already
> > discussed.
> 
> I apparently missed both messages to which you refer; 
> however, commenting
> upon the first: I'm unsure what you mean here.  -rpath is 
> decided at compile
> time, ld.so.conf at runtime.  ls.so.conf itself may change, 
> and at compile
> time it may not have a complete picture.

Right, but wrong also... What we want is that when compiling we do not
hardcode in the executable any directory that is searched by default, so
that at runtime, if ld.so.conf was changed in the meantime (while the
libraries were moved accordingly), we find the right library in its new
place...

> 
> I don't know what sort of tweaks RedHat made.  Can you 
> enlighten me/us?

They looked in LD_LIBRARY_PATH before -rpath I think... 

Regards,
		Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingéniérie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 


Reply to: