Am 10.07.2014 03:34, schrieb Viktor Dukhovni: > On Wed, Jul 09, 2014 at 09:05:08PM -0400, Wietse Venema wrote: > >>> Thanks. What do you want to do about "-Wl,--enable-new-dtags"? I >> >> I have no idea how portable that is even if only within LINUX. > > Reading various Linux documentation and even the Wikipedia entry > for RPATH suggests that the problem is generic. > > http://en.wikipedia.org/wiki/Rpath#GNU_ld.so > > perhaps some folks can confirm whether this is needed on Redhat/Fedora, > Debian/Ubuntu, SuSE, Gentoo, ... > > Where the RUNPATH kludge is needed the flag is I think important, > since otherwise upgrade builds will run-time link with installed > libraries from an older release in preference to the build's > libraries (potential problem with invocations of postconf during > build/install)
no rpath for Fedora http://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath %configure sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
