[CMake] CMake with CPack - unresolved libraries

Eric Noulard eric.noulard at gmail.com
Mon Oct 25 12:38:39 EDT 2010


2010/10/25 Marcin Czenko <marcin.czenko at sioux.eu>:
> Hello everybody.
>
> I need your help to solve the following problem.
>
> The installed version of CMake is:  2.8.0.
> The installed version of CPack is: 2.8.0.
> I am running on Ubuntu LTS 10.04.
>
> I have a CMake project. The output of the project is an executable. The
> executable depends on a number of shared
> libraries:
>
> =====================================================================
>> ldd UserCockpit-Application

[...]
> =====================================================================
>
> Now I am trying to use CPack with CMake to make a deb package. Everythig
> works perfectly except one thing. When I run ldd on the executable that is
> included in the package I get the following output:

[...]

You may try to use full RPATH:
http://www.cmake.org/Wiki/CMake_RPATH_handling

However I have 2 questions:

 1) Is your ldd test done AFTER installing the .deb ?

 2) Does the "not found" libraries belong to your CMake-handled project or
     to third party libraries?


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org


More information about the CMake mailing list