Index: vsftpd-3.0.4/vsf_findlibs.sh =================================================================== --- vsftpd-3.0.4.orig/vsf_findlibs.sh 2021-05-18 07:14:35.000000000 +0000 +++ vsftpd-3.0.4/vsf_findlibs.sh 2021-06-29 09:24:32.833223756 +0000 @@ -14,6 +14,7 @@ fi # crypt library. if find_func pam_start sysdeputil.o; then locate_library /lib/libpam.so.0 && echo "/lib/libpam.so.0"; + locate_library /lib64/libpam.so.0 && echo "/lib64/libpam.so.0"; locate_library /usr/lib/libpam.so && echo "-lpam"; locate_library /usr/lib64/libpam.so && echo "-lpam"; locate_library /lib/x86_64-linux-gnu/libpam.so.0 && echo "-lpam"; @@ -23,6 +24,7 @@ if find_func pam_start sysdeputil.o; the locate_library /usr/lib/libpam.a && echo "-lpam"; else locate_library /lib/libcrypt.so && echo "-lcrypt"; + locate_library /lib64/libcrypt.so && echo "-lcrypt"; locate_library /usr/lib/libcrypt.so && echo "-lcrypt"; locate_library /usr/lib64/libcrypt.so && echo "-lcrypt"; locate_library /lib/x86_64-linux-gnu/libcrypt.so && echo "-lcrypt"; @@ -52,6 +54,7 @@ locate_library /usr/lib/libsec.sl && ech # /usr/bin/ld: cannot find -lcap # If the libcap-devel package isn't installed. locate_library /usr/lib/libcap.so && echo "-lcap"; +locate_library /usr/lib64/libcap.so && echo "-lcap"; locate_library /lib/libcap.so && echo "-lcap"; locate_library /lib64/libcap.so && echo "-lcap";