[ofa-general] RPATH issue with libibverbs (OFED 1.4)

Philip Frey1 PHF at zurich.ibm.com
Mon May 18 02:52:27 PDT 2009


Hi,

I am no longer able to build the libibverbs due to an RPATH issue.
Can you give me some advice as to how to solve it?

When running the 'install.pl' script, I get the following output:
...
Running  rpmbuild --rebuild  --define '_topdir /var/tmp/OFED_topdir' 
--define 'dist %{nil}' --target x86_64 --define '_prefix /usr' --define 
'_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr' 
/root/OFED/1.4/OFED-1.4/SRPMS/libibverbs-1.1.2-1.ofed1.4.src.rpm

Failed to build libibverbs RPM 
See /tmp/OFED.2614.logs/libibverbs.rpmbuild.log 

The last few lines from that log are:
ERROR   0001: file '/usr/bin/ibv_asyncwatch' contains a standard rpath 
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/ibv_srq_pingpong' contains a standard rpath 
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/ibv_devices' contains a standard rpath 
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/ibv_devinfo' contains a standard rpath 
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/ibv_rc_pingpong' contains a standard rpath 
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/ibv_ud_pingpong' contains a standard rpath 
'/usr/lib64' in [/usr/lib64]
ERROR   0001: file '/usr/bin/ibv_uc_pingpong' contains a standard rpath 
'/usr/lib64' in [/usr/lib64]
error: Bad exit status from /var/tmp/rpm-tmp.52084 (%install)

I am runing the following Fedora kernel: 2.6.27.21-78.2.41.fc9.x86_64

On another machine with the exact same setup, the installation works fine.

Many thanks and kind regards,
 Philip

-- 
   Philip Frey 
   IBM Zurich Research Laboratory
   Saumerstrasse 4                                   |  Phone: +41 44 724 
8613
   CH-8803 Rueschlikon/Switzerland  |  Email: phf at zurich.ibm.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20090518/216c45da/attachment.html>


More information about the general mailing list