Hello Jeff, * Jeff Safier wrote on Thu, Mar 01, 2007 at 06:12:48PM CET: > Is there any way to link a shared object (or .la file) created with > libtool (through automake) without hardcoding a path when specifying the > file in the program_LDADD line
On many systems, libtool will not hard-code run paths into libraries or programs iff all libraries are/will be found in locations searched by the runtime linker by default. Otherwise, libtool will hard-code if possible, so that executing an installed program works. On some systems, the link editor will hardcode itself, so you cannot really do anything about it. Those systems are getting less common, though. If you're trying to produce relocatable packages, you may want to take a look at the gnulib relocatable* modules. They are pretty new though. Cheers, Ralf
