Experimental Physics and
| |||||||||||||||
|
If you want to remove the RPATH entries you're probably better off editing the configure/os/CONFIG files to remove the options, although you may find you have to set /etc/ld.so.conf so our build tools like flex and antelope are able to run. I believe we've added an option to future releases to allow RPATH to be turned off centrally.On the contrary, RPATH entries are essential to the way our packages are installed each to their own directory, otherwise each user would have to maintain an insanely long LD_LIBRARY_PATH. However, RPATHs pointing back to the build tree are not good, which is why I took to the hack of installing each library and binary in order and relinking it against the installed dependencies with appropriate install tree RPATH settings (as opposed to build tree RPATH settings). If you look what was done for the HP-UX architecture (when it still was supported), we simply compiled *both* locations into RPATH: the build path first, and the generic final installation location second. That way the binaries were running on the development machine (for testing) using the locally build libraries, and when installed on a machine without the build location, they would use the libraries in the generic place. Ralph
| ||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |