On Thu, 10 Oct 2019, Eric Noulard wrote: ... > No rpath and using "only" LD_LIBRARY_PATH is not feasible in that case? > Removing rpath is easy; chrpath -d lib_or_exe
You could but, to avoid a maintenance headache, you'd normally end up getting the environment module to load any prereq environment modules, which would modify LD_LIBRARY_PATH. In either case, it'd mean unexpectedly polluting the user's environment with things they didn't explicitly ask for, which I don't like doing. ... > Or may be commenting it out and specify CMAKE_INSTALL_RPATH on the command > line: > > cmake > -DCMAKE_INSTALL_RPATH=/as/log/as/you/want/path/in/order/to/safely/patch/rpath > .... ... Sorry - yes, I'm commenting it out and then specifying the CMAKE_INSTALL_RPATH I want on the command line. Best, Mark -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
