Hpux issue with krb51.5.2 or 5.1 and krb5_db_init not defined

Mike Coyne Mike.Coyne at PACCAR.com
Tue Feb 13 16:27:37 EST 2007


When compiling using the HPUX ansic compiler I get a undefined symbol
.krb5_db_set_name and kdb5_db_init where are these defined so it can be
linked in with do_as_req.o in krb5kdc?  The code will not compile under
gcc due to errors with pthread_create defined as static and weak ..in
gcc-ized pthread.h 

 

 

 

cc +DD64 -L../lib  -Wl,+s -Wl,+b,/opt/krb5-1.5.2/lib -Ae  -o krb5kdc
kdc5_err.o dispatch.o do_as_req.o do_tgs_req.o kdc_util.o kdc_preauth.o
main.o network.o policy.o extern.o replay.o kerberos_v4.o -lkadm5srv
-lkdb5 -lgssrpc -lgssapi_krb5 -lkrb4 -ldes425 -lkrb5 -lk5crypto
-lcom_err -lkrb5support    -lapputils

ld: Unsatisfied symbol "krb5_db_set_name" in file do_as_req.o

ld: Unsatisfied symbol "krb5_db_init" in file do_as_req.o

2 errors.

gmake[1]: *** [krb5kdc] Error 1

gmake[1]: Leaving directory
`/common/temp/work/krb5-1.5.2/src/pa20_64/kdc'

gmake: *** [all-recurse] Error 1

mcoyne at panama:/common/temp/work/krb5-1.5.2/src/pa20_64 #




More information about the Kerberos mailing list