[CMake] cmake does not run ldconfig => not found errors

Filipe Sousa natros at gmail.com
Wed Feb 28 13:48:41 EST 2007


Peter Soetens wrote:
> Is there a reason why cmake 2.4.6 does not run this program after installing 
> shared libraries on a Unix system (Ubuntu) ? After a 'make install', I got 
> the following:
> 
> $ ldd /usr/local/lib/liborocos-rtt.so
>         linux-gate.so.1 =>  (0xffffe000)
>         ...
>         liborocos-rtt-corba.so.1.2.0 => not found
> 
> ---> this library is present in /usr/local/lib and built/installed in the same 
> cmake project...
> 
> After running ldconfig as root, the lib is found.
> 
> Peter

I believe that this has something to do with RPATH thing (search the 
list and you will find related posts). Anyway, you can add the path to 
/etc/ld.so.conf or LD_LIBRARY_PATH and see if it works.

--
Filipe Sousa


More information about the CMake mailing list