--- configure +++ configure 2009-08-28 15:44:29.774401466 +0000 @@ -19120,6 +19120,10 @@ rm -f core conftest.err conftest.$ac_obj # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. + if test -n "$ARCH_LIB" ; then + sys_lib_search_path_spec="/usr/${ARCH_LIB} /${ARCH_LIB}" + sys_lib_dlsearch_path_spec="/usr/${ARCH_LIB} /${ARCH_LIB}" + fi dynamic_linker='GNU/Linux ld.so' ;; --- m4/libtool.m4 +++ m4/libtool.m4 2009-08-28 15:46:57.481902434 +0000 @@ -2622,6 +2622,10 @@ linux* | k*bsd*-gnu) # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. + if test -n "$ARCH_LIB" ; then + sys_lib_search_path_spec="/usr/${ARCH_LIB} /${ARCH_LIB}" + sys_lib_dlsearch_path_spec="/usr/${ARCH_LIB} /${ARCH_LIB}" + fi dynamic_linker='GNU/Linux ld.so' ;;