On 07/21/2010 12:39 AM, [email protected] wrote:
> Howdy,
> 
> After a make install, the executable's shared library dependencies are
> missing when I run "ldd".

<http://www.cmake.org/Wiki/CMake_RPATH_handling>

In particular: "By default if you don't change any RPATH related
settings, CMake will link the executables and shared libraries with
full RPATH to all used libraries in the build tree. When installing,
it will link all these targets again so they are installed with an
empty RPATH."

So, if you don't install to a well-known location or to one mentioned
in /etc/ld.so.conf, LD_LIBRARY_PATH or the like the binaries' dynamic
dependencies are not resolved by default, and remember "ldconfig". ;)

Regards,

Michael
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to