--- configure.orig 2010-06-16 12:26:45.000000000 -0700 +++ configure 2010-06-16 12:29:00.000000000 -0700 @@ -19181,7 +19181,7 @@ elif test -z "$GSSAPI_LIB_DIR"; then case $host in *-*-darwin*) - LIBS="$LIBS -lgssapi_krb5 -lresolv" + LIBS="$LIBS -Wl,-weak-lgssapi_krb5 -lresolv" ;; *) if test -f "$GSSAPI_ROOT/bin/krb5-config"; then