[CMake] embedded path in shared library linked into another shared library

David Aiken david.aiken at cis-vancouver.com
Mon Apr 11 14:58:53 EDT 2011


Hi all..

I'm using cmake 2.8.4 on Centos 5.2. I build a libUtility.so and a libSecurity.so which depends on it. The utility library is located in "../../lib/libUtility.so" during the build. If I do an ldd on libSecurity.so I can see this relative path for libUtility.so in both the build and install versions of the libSecurity.so library. I would like to remove it, but have had no luck. From the docs it seems that the rpath would be removed if I add "SET(CMAKE_SKIP_RPATH TRUE)" to the CMakeLists.txt, but there is no change.

Thanks!

This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email and any attachments is strictly prohibited. If you receive this email in error, please immediately notify the sender by return email and permanently delete the original, any copy and any printout thereof. The integrity and security of e-mail cannot be guaranteed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110411/24e50604/attachment.htm>


More information about the CMake mailing list