I'm building an RPM from this: http://www.ysbl.york.ac.uk/~emsley/software/binaries/stable/coot-0.5.2-binary-Linux-x86_64-centos-5-gtk2.tar.gz and rpmbuild fails because of invalid RPATHs: + /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot ERROR 0002: file '/opt/coot-0.5.2/lib/libguilegtk-2.0.so.0.1.0' contains an invalid rpath '/home/emsley/autobuild/Linux-koala.bioch-gtk2/lib' in [/home/emsley/autobuild/Linux-koala.bioch-gtk2/lib] ERROR 0002: file '/opt/coot-0.5.2/lib/libhistory.so.5.2' contains an invalid rpath '/home/emsley/autobuild/Linux-koala.bioch-gtk2/lib' in [/home/emsley/autobuild/Linux-koala.bioch-gtk2/lib] <remaining errors snipped> I can circumvent this error by building like this: QA_RPATHS=$[ 0x0001|0x0002 ] rpmbuild -ba coot.spec However, I was wondering if there's a better way than to just ignore this. Perhaps RPATHs could be removed entirely from the upstream build? Matt