[CMake] Relink during install to get correct rpath in the binary?
Chris Scharver
scharver at gmail.com
Wed Nov 30 12:44:01 EST 2005
On 11/22/05, Chris Scharver <scharver at gmail.com> wrote:
> On 11/22/05, Brad King <brad.king at kitware.com> wrote:
> > Chris Scharver wrote:
> > > On 11/20/05, Brad King <brad.king at kitware.com> wrote:
> > >
> > >>The rpath feature of CMake is intended to help developers use projects
> > >>with shared libraries from the build tree without setting
> > >>LD_LIBRARY_PATH or their platform's equivalent. Many linux/unix people
> > >>consider rpaths evil for installed programs, and many linux
> > >>distributions ban them altogether. The idea is that installed shared
> > >>libraries should be in the system's shared library search path
> > >>(ld.so.conf or equivalent) so they can be shared among applications.
BTW, I filed a bug addressing the need for setting the
rpath/install_name to something other than the build location:
<http://www.cmake.org/Bug/bug.php?op=show&bugid=2513&pos=3>
-Chris
More information about the CMake
mailing list