rpath in kde packages added by cmake

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux