--- a/Configure +++ b/Configure @@ -1255,12 +1255,12 @@ libnames='' : change the next line if compiling for Xenix/286 on Xenix/386 xlibpth='/usr/lib/386 /lib/386' : Possible local library directories to search. -loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib" -loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib" +loclibpth="/usr/local/lib64 /opt/local/lib64 /usr/gnu/lib64" +loclibpth="$loclibpth /opt/gnu/lib64 /usr/GNU/lib64 /opt/GNU/lib64" : general looking path for locating libraries -glibpth="/lib /usr/lib $xlibpth" -glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib" +glibpth="/lib64 /usr/lib64 $xlibpth" +glibpth="$glibpth /usr/ccs/lib64 /usr/ucblib /usr/local/lib64" test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth" test -f /shlib/libc.so && glibpth="/shlib $glibpth" @@ -5945,8 +5945,8 @@ fi : Reproduce behavior of 5.005 and earlier, maybe drop that in 5.7. case "$installstyle" in '') case "$prefix" in - *perl*) dflt='lib';; - *) dflt='lib/perl5' ;; + *perl*) dflt='lib64';; + *) dflt='lib64/perl5' ;; esac ;; *) dflt="$installstyle" ;; @@ -5962,8 +5962,8 @@ installstyle=$dflt : /opt/perl/lib/perl5... would be redundant. : The default "style" setting is made in installstyle.U case "$installstyle" in -*lib/perl5*) set dflt privlib lib/$package/$version ;; -*) set dflt privlib lib/$version ;; +*lib64/perl5*) set dflt privlib lib64/$package/$version ;; +*) set dflt privlib lib64/$version ;; esac eval $prefixit $cat </dev/null >> libc.list + if test -f /usr/lib64/lib$net$_a; then + ( ($nm $nm_opt /usr/lib64/lib$net$_a | eval $nm_extract) || \ + $ar t /usr/lib64/lib$net$_a) 2>/dev/null >> libc.list if $contains socket libc.list >/dev/null 2>&1; then d_socket="$define" socketlib="-l$net"