[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
rpath in kde packages added by cmake
- From: Patrice Dumas <pertusus free fr>
- To: Development discussions related to Fedora <fedora-devel-list redhat com>
- Subject: rpath in kde packages added by cmake
- Date: Thu, 14 Aug 2008 17:55:43 +0200
Hello,
In kchmviewer, some rpath are added, that are certainly unneeded:
kchmviewer.i386: E: binary-or-shlib-defines-rpath /usr/lib/kde4/kio_msits.so ['/usr/lib', '/usr/lib/kde4/devel']
kchmviewer.i386: E: binary-or-shlib-defines-rpath /usr/bin/kchmviewer ['/usr/lib', '/usr/lib/kde4/devel']
/usr/lib is unneeded for sure and /usr/lib/kde4/devel seems to be
unneeded to me too, since, at least looking at libkio.so, one has
/usr/lib/kde4/devel/libkio.so -> ../../libkio.so.5
so that at runtime /usr/lib/libkio.so.5 can be used and the rpath is
unnecessary (at link time it is important to use /usr/lib/kde4/devel/
since there is another library version linked with /usr/lib/libkio.so).
However on
http://fedoraproject.org/wiki/Packaging/cmake
it is advised against removing the rpaths with -DCMAKE_SKIP_RPATH:BOOL=ON.
Is it relevant here? Am I doing a sound analysis? Is it a known issue?
Should I use chrpath, or a cmake trick?
A build with rpath removed with chrpath seems to be fine.
--
Pat
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]