When relinking a library during the httpd install on ppc64, libtool is adding an
RPATH for /usr/lib64. I am guessing this is because libtool is picking up:
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
on this platform (at least /usr/bin/libtool has this)
which is surely wrong, since this is a libdir=/usr/lib64 platform?
For my libraries built using "libtool --mode=link ... -rpath $libdir ..."
no other platform is adding an RPATH during relinking except ppc64.
Has the wrong libtool got installed in the buildroot or something?
This is going to be a swine to work around.
As mentioned in bug 98616, and it happens when linking not just relinking:
# Find out which ABI we are using (multilib Linux x86_64 hack).
case "$host_cpu" in
x86_64*|s390x*) ### what no ppc64?
Can you fix this for Fedora?
The line needs to be
not ppc64*, confusingly.
Should get fixed in libtool-1.5-8. Thanks :)
Looks good to me, thanks Jens.