Re: AIX build works!
Ben Huntsman <[email protected]>
| Newsgroups | gmane.comp.file-systems.openafs.devel |
|---|---|
| Message-ID | <MWHPR0701MB367405A7599ED228BDC5FCA1A7439@MWHPR0701MB3674.namprd07.prod.outlook.com> |
Ah, yes, there are two different Kerberos packages available on AIX, but they're both based on MIT. The one in /opt/freeware is the one from the IBM AIX Toolbox for Linux. IBM also provides their own build that installs using the AIX installp system and goes in /usr/krb5. That package is available on the 2nd AIX disc, if you have media. The installp one is the one I was using. If you think we'd have better luck focusing on the /opt/freeware one, I'm happy to switch over to that instead. Thank you! -Ben ________________________________ From: Daria Phoebe Brashear <[email protected]> Sent: Friday, September 9, 2022 8:10 AM To: Ben Huntsman <[email protected]> Cc: [email protected] <[email protected]> Subject: Re: [OpenAFS-devel] AIX build works! On Fri, Sep 9, 2022 at 11:06 Ben Huntsman <[email protected]<mailto:[email protected]>> wrote: Hi there- I think there's more to it than that. First of all, IBM doesn't provide a krb5-config script with their kerberos. I guess whatever 6.X has is different than in 7; the Kerberos in /opt/freeware works modulo what I described. And if you run nm on libk5crypto.a, it's not wrong that the symbol it's looking for .krb5int_hash_md5 isn't there, just krb5int_hash_md5 without the dot. I will keep looking at it, especially if the AIX build changes get merged. I don’t have that power alas. Good luck. Thank you! -Ben ________________________________ From: Daria Phoebe Brashear <[email protected]<mailto:[email protected]>> Sent: Thursday, September 8, 2022 9:41 AM To: Ben Huntsman <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> Subject: Re: [OpenAFS-devel] AIX build works! On Wed, Aug 24, 2022 at 2:07 PM Ben Huntsman ([email protected]<mailto:[email protected]>) <[email protected]<mailto:[email protected]>> wrote: > > Hi everyone- > With the last change I put up on gerrit this morning, the AIX build completes on AIX 6.1 6100-09-12! And, while I'm still trying to get the Kerbreos setup ironed out, loading the kernel extension and starting afsd doesn't cause a panic anymore! So it appears to be mostly working! > > The one odd thing I did have to do is to manually add "-lk5crypto" to the Kerberos libs in src/config/Makefile.config, as I couldn't get the configure script to detect it properly. I'm not sure if that's an issue with IBM's Kerberos implementation, or with the OpenAFS configure script... At a guess, you need to either make krb5-config return 32 bit libpaths first, or force your compiler and linker to be in 64 bit mode (e.g. xlc_r -Wc,lp64 -Wl,lp64, ld -b64, gcc -maix64). Otherwise, the configure tests throw errors which get sensed as the symbol not being detected instead of what they actually are. -- Daria Phoebe Brashear AuriStor, Inc dariaphoebe.com<http://dariaphoebe.com> -- -- Daria Phoebe Brashear AuriStor, Inc. dariaphoebe.com<http://dariaphoebe.com>