I agree that rpath should be avoided. However, hwloc itself doesn't add
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
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).