[krbdev.mit.edu #7651] [PATCH] krb5 fix make check dbtest linking error
Gilles Espinasse via RT
rt-comment at krbdev.mit.edu
Thu May 30 17:53:44 EDT 2013
/usr/bin/ld: warning: libkrb5support.so.0, needed by ../libdb.so, not found (try using -rpath or -rpath-link)
collect2: ld returned 1 exit status
make[3]: *** [dbtest] Error 1
So link to libkrb5support in the same time as libdb
Tested to work with both builtin crypto and openssl
Signed-off-by: Gilles Espinasse <g.esp at free.fr>
---
src/plugins/kdb/db2/libdb2/test/Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/kdb/db2/libdb2/test/Makefile.in b/src/plugins/kdb/db2/libdb2/test/Makefile.in
index 854d50d..c29e6f0 100644
--- a/src/plugins/kdb/db2/libdb2/test/Makefile.in
+++ b/src/plugins/kdb/db2/libdb2/test/Makefile.in
@@ -12,7 +12,7 @@ PROG_RPATH=$(KRB5_LIBDIR)
KRB5_RUN_ENV= @KRB5_RUN_ENV@
-DB_LIB = -ldb
+DB_LIB = -ldb -lkrb5support
DB_DEPLIB = ../libdb$(DEPLIBEXT)
all::
--
1.7.10.4
More information about the krb5-bugs
mailing list