View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002527CMakeCMakepublic2005-11-26 19:002006-02-19 22:46
ReporterLars Nordlund 
Assigned ToBrad King 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002527: Introduce relink during install to adjust rpath in binary
DescriptionWhen using the rpath feature of CMake (CMAKE_SKIP_RPATH OFF) the rpath in the built binaries will point to the temporary build tree. This is good when running them from there. After installation however, the rpath will still point to the temporary build tree. It would be good if a relink would happen during install to fix this.

Editing /etc/ld.so.conf is often not an option. It is also extra work and scales badly for multi-user system with several users with their own personal projects containing shared libraries.

Doing the LD_LIBRARY_PATH environment dance is also extra work.

Creating wrapper binaries/scripts which set up the LD_LIBRARY_PATH and then calls the real binary is a bit tricky to get right.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0003757)
Brad King (manager)
2006-02-19 15:20

I'm assigning this bug to myself since I fixed it this week.

I'm closing this bug since it has been fixed. See the documentation of the SET_TARGET_PROPERTIES command in the development version of CMake from CVS. The feature will be included in the next release.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team