Re: Relocatable installs - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Relocatable installs
Date
Msg-id 200405182014.i4IKE2M28471@candle.pha.pa.us
Whole thread Raw
In response to Re: Relocatable installs  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Relocatable installs
List pgsql-hackers
Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > We already have --disable-rpath.  Seems we would just need something
> > to use the *.a files.
> 
> I think it is perfectly sufficient to say that if you want a relocatable 
> install, don't use rpath.  Static linking will lead to all other kinds 
> of madness.

OK, but if we don't use rpath, don't we have to do the ld.so.conf or
environment varaible usage so we can find our shared library.  I assume
the big problem with rpath is that it might find the wrong version of
our library, right?  Is there another downside to it being set?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Call for 7.5 feature completion
Next
From: Bruce Momjian
Date:
Subject: Re: Relocatable installs