Debian stores it's shared libraries in /usr/lib/$(uname -m)-linux-gnu Signed-off-by: Petr Vorel <petr.vorel@xxxxxxxxx> --- aclocal/kerberos5.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aclocal/kerberos5.m4 b/aclocal/kerberos5.m4 index faa58049..bf0e88bc 100644 --- a/aclocal/kerberos5.m4 +++ b/aclocal/kerberos5.m4 @@ -42,7 +42,9 @@ AC_DEFUN([AC_KERBEROS_V5],[ -f $dir/lib32/libgssapi_krb5.a -o \ -f $dir/lib32/libgssapi_krb5.so -o \ -f $dir/lib64/libgssapi_krb5.a -o \ - -f $dir/lib64/libgssapi_krb5.so \) ; then + -f $dir/lib64/libgssapi_krb5.so -o \ + -f $dir/lib/$(uname -m)-linux-gnu/libgssapi_krb5.a -o \ + -f $dir/lib/$(uname -m)-linux-gnu/libgssapi_krb5.so \) ; then AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries]) KRBDIR="$dir" gssapi_lib=gssapi_krb5 -- 2.24.0