[CMake] Rpath removed from installed libraries?

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jul 9 16:38:10 EDT 2008


On Wednesday 09 July 2008, Georgios Petasis wrote:
> O/H Alexander Neundorf ??????:
...
> > Which dirs are that exactly ?
> > Are they all outside the build dir ?
> >
> > Alex
>
> Two are in the build dir, but one is the perl library, in
> /usr/lib/perl5/....

I think that one should stay...
Could you try to additionally link to any library e.g. in /opt/lib and see if 
this dir is also removed when installing ?

Can you please have a look (or post) the cmake_install.cmake from the dir 
where the library is built ?
There must be a line which contains "RPATH".

Which distribution do you use ?
Can you also post the library from the build dir, which still contains the 
RPATH (or send it to me directly) ? Is that possible or is it secret ? If so, 
can you create a testcase which shows the problem ?

Alex


More information about the CMake mailing list