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

Alexander Neundorf a.neundorf-work at gmx.net
Wed Feb 28 14:13:36 EST 2007


-------- Original-Nachricht --------
Datum: Wed, 28 Feb 2007 18:48:41 +0000
Von: Filipe Sousa <natros at gmail.com>
An: cmake at cmake.org
CC: 
Betreff: Re: [CMake] cmake does not run ldconfig => not found errors

> 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.

AFAIK cmake simply doesn't run ldconfig.
I don't know whether there are special reasons for not running it.

Bye
Alex

-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out


More information about the CMake mailing list