Skip to contentSkip to conversation

gssd: Look in lib32 for gss libs aswell.

PATCH In review Matt Turner 2 participants 2 messages Aug 11, 2019 – Aug 12, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gssd: Look in lib32 for gss libs aswell.

Akin to commit da999b81b058 ("Look in lib64 for gss libs aswell.")

mips/n32 systems have libraries in lib32 (but not lib or lib64). Without checking lib32, configure fails with

checking for Kerberos v5... configure: error: Kerberos v5 with GSS
support not found: consider --disable-gss or --with-krb5=

---
 aclocal/kerberos5.m4 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
aclocal/kerberos5.m4 +4 -2
index 8a0f3e4c..faa58049 100644
@@ -38,9 +38,11 @@ AC_DEFUN([AC_KERBEROS_V5],[
       AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number])
       if test -f $dir/include/gssapi/gssapi_krb5.h -a \
                 \( -f $dir/lib/libgssapi_krb5.a -o \
+                   -f $dir/lib/libgssapi_krb5.so -o \
+                   -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 -o \
-                   -f $dir/lib/libgssapi_krb5.so \) ; then
+                   -f $dir/lib64/libgssapi_krb5.so \) ; then
          AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries])
          KRBDIR="$dir"
          gssapi_lib=gssapi_krb5
Signature · 1 line
2.21.0
#1 lore raw
Quoted 9 lines · Matt Turner

Akin to commit da999b81b058 ("Look in lib64 for gss libs aswell.")

mips/n32 systems have libraries in lib32 (but not lib or lib64). Without checking lib32, configure fails with

checking for Kerberos v5... configure: error: Kerberos v5 with GSS
support not found: consider --disable-gss or --with-krb5=

Committed!

steved.

Quoted 23 lines
---
 aclocal/kerberos5.m4 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
aclocal/kerberos5.m4 +4 -2
index 8a0f3e4c..faa58049 100644
@@ -38,9 +38,11 @@ AC_DEFUN([AC_KERBEROS_V5],[
       AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number])
       if test -f $dir/include/gssapi/gssapi_krb5.h -a \
                 \( -f $dir/lib/libgssapi_krb5.a -o \
+                   -f $dir/lib/libgssapi_krb5.so -o \
+                   -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 -o \
-                   -f $dir/lib/libgssapi_krb5.so \) ; then
+                   -f $dir/lib64/libgssapi_krb5.so \) ; then
          AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries])
          KRBDIR="$dir"
          gssapi_lib=gssapi_krb5