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, I added some more documentation about how to make relocatable installs. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
Index: doc/src/sgml/installation.sgml =================================================================== RCS file: /cvsroot/pgsql-server/doc/src/sgml/installation.sgml,v retrieving revision 1.199 diff -c -c -r1.199 installation.sgml *** doc/src/sgml/installation.sgml 17 May 2004 16:06:25 -0000 1.199 --- doc/src/sgml/installation.sgml 18 May 2004 20:33:18 -0000 *************** *** 503,508 **** --- 503,518 ---- installation. (The <literal>man</> and <literal>doc</> locations are not affected by this.) </para> + + <para> + For relocatable installs, you might want to use + <filename>configure</filename>'s <literal>--disable-rpath</> + option. Also, you will need to tell the operating system how + to find the shared libraries used by applications like + <application>psql</> either using a system-wide shared + library configuration file like <filename>ld.so.conf</>, + or an environment variable like <literal>LD_LIBRARY_PATH</>. + </para> </listitem> </varlistentry>
---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend