Hi, On Wed, 29 Dec 2004 16:52:52 +0100, Robert P. J. Day wrote: ... > 1) creating some shared libs in a temporary location > 2) compiling some executables which will link to those libs > at run time > > however, once the above is done, both the executables and the shared > libs will be installed on a totally separate system, in different > locations. Did you consider libtool(1)? It handles this correctly on the build system before you do "make install". After "make install" (to $DESTDIR subdirectory) the resulting binaries need to be used on their final locations. libtool(1) handles it by binaries wrapping scripts and general relinking. ... > other options include working with /etc/ld.so.conf on the new > system, of course, /etc/ld.so.conf.d/* is a well packagable solution. Regards, Lace