RPATH in various binaries
pzhukov at redhat.com
Fri Nov 29 14:59:55 UTC 2013
On Fri, 29 Nov 2013, Richard W.M. Jones wrote:
| On Fedora 20 (beta-ish), I did:
| for f in /usr/bin/*; do chrpath -l $f ; done | grep RPATH > /tmp/rpaths.txt
| I removed from the final list private library RPATHs, which are
| permitted. Here is the final list:
| /usr/bin/afm2tfm: RPATH=/builddir/build/BUILD/texlive-2013/source/inst/lib
| /usr/bin/xdvi-xaw: RPATH=/builddir/build/BUILD/texlive-2013/source/inst/lib
| Note this list is not comprehensive because it's just binaries that I
| happened to have installed.
| (a) Are these bugs? They seem to be.
| (b) I thought Fedora had an RPM install post script which was supposed
| to detect these and alert the packager?
Right now it doesn't have such script. packager/reviewer should take
care on this.
Hovewer rpmlint shows something like:
gela-asis.x86_64: E: binary-or-shlib-defines-rpath
and errors should bot be ignored...
|  https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
| Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
| virt-p2v converts physical machines to virtual machines. Boot with a
| live CD or over the network (PXE) and turn machines into KVM guests.
| devel mailing list
| devel at lists.fedoraproject.org
| Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
More information about the devel