Do you have a krb5-config script (or pkgconfig files) for your kerberos installation? Looking at more of what configure had to say about krb5 detection, and possibly passing --with-krb5* of some form, might help.
-Ben On Sun, Aug 14, 2022 at 06:46:00PM +0000, Ben Huntsman wrote: > Hi Ken- > > Ah, yes, I believe you are right. That library does exist on my system also, > and I manually added it to Makefile.config and the build continued. The > question is then, why didn't ./configure detect it and add it? > > I think this is the problem: > > $ grep md5 config.log > configure:41845: checking for krb5int_hash_md5 in -lk5crypto > ld: 0711-317 ERROR: Undefined symbol: .krb5int_hash_md5 > | char krb5int_hash_md5 (); > | return krb5int_hash_md5 (); > configure:48734: checking for krb5int_hash_md5 in -lk5crypto > ac_cv_lib_k5crypto_krb5int_hash_md5=no > $ nm /opt/freeware/lib/libk5crypto.a | grep md5 > .EVP_md5 T 268449356 > .EVP_md5 t 268449356 40 > .hash_md5 t 268450036 120 > .krb5int_hmacmd5_checksum T 268481192 892 > EVP_md5 U - > EVP_md5 d 536875224 4 > _checksumhmacmd5.rop_ t 268504960 13 > checksum_hmac_md5.c f - > hash_md5 d 536873496 12 > hash_md5:f821 - 520 > krb5int_hash_md5 D 536871692 > krb5int_hash_md5 d 536875384 4 > krb5int_hash_md5:G1628 - 60 > krb5int_hmacmd5_checksum D 536874036 > krb5int_hmacmd5_checksum d 536874036 12 > krb5int_hmacmd5_checksum:F821 - 0 > > > For some reason, the check for if we should add -lk5crypto is failing. > There's a krb5int_hash_md5 but not a .krb5int_hash_md5. Should we check for > something else on AIX? > > Thank you. > > -Ben > > > ________________________________ > From: Ken Hornstein <k...@cmf.nrl.navy.mil> > Sent: Sunday, August 14, 2022 10:25 AM > To: Ben Huntsman <b...@huntsmans.net> > Cc: openafs-devel@openafs.org <openafs-devel@openafs.org> > Subject: Re: [OpenAFS-devel] AIX build fails with missing symbol > .krb5_c_make_random_key > > > Like I said though, nm shows that the libkrb5.a library has the > > symbol in question in it, so I'm not quite sure how providing a > > newer version would alter the outcome... > > Are you _sure_ that libkrb5.a has that symbol in it, and it's not just > an undefined reference to the symbol? On my system (using MIT krb5 1.19) > krb5_c_make_random_key is in libk5crypto, and I noticed that library is > not in your link command (there are references to krb5_c_make_random_key > in libkrb5, but no symbol definition). > > --Ken _______________________________________________ OpenAFS-devel mailing list OpenAFS-devel@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-devel