Re: [Fedora-tools-list] how do you link to a different lib location at run time?

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



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/ on the new
> system, of course,

/etc/* is a well packagable solution.


[Index of Archives]     [GCC Help]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Home]     [Fedora Config]     [PAM]     [Red Hat 9]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux