Re: AIX build works!
Daria Phoebe Brashear <[email protected]>
| Newsgroups | gmane.comp.file-systems.openafs.devel |
|---|---|
| Message-ID | <CAMHoRJj92=TKz6hY6KEO8XW70socaCuN7FdoeE3_CguCYjSCmg@mail.gmail.com> |
On Fri, Sep 9, 2022 at 11:06 Ben Huntsman <[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]> > *Sent:* Thursday, September 8, 2022 9:41 AM > *To:* Ben Huntsman <[email protected]> > *Cc:* [email protected] <[email protected]> > *Subject:* Re: [OpenAFS-devel] AIX build works! > > On Wed, Aug 24, 2022 at 2:07 PM Ben Huntsman ([email protected]) > <[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 > -- -- Daria Phoebe Brashear AuriStor, Inc. dariaphoebe.com