Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] hwloc and rpath
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2010-06-18 18:03:49


Hello,

I agree that rpath should be avoided. However, hwloc itself doesn't add
any.

Jirka Hladky, le Fri 18 Jun 2010 22:09:56 +0200, a écrit :
> =====================================================
> hwloc.x86_64: E: binary-or-shlib-defines-rpath /usr/bin/hwloc-distrib
> ['/usr/lib64']

So apparently libtool somehow doesn't realizes that /usr/lib64 is in the
standard search path. I'd tend to believe it's a bug in libtool or the
distribution which don't understand each other. How does configure get
invoked? What is the output of gcc -print-search-dirs?

(On debian, we use --libdir=/usr/lib/x86_64-linux-gnu and that doesn't
introduce any rpath).

Samuel