[OpenAFS-devel] AIX build fails with missing symbol .krb5_c_make_random_key

Ben Huntsman ben@huntsmans.net
Sun, 14 Aug 2022 16:53:27 +0000


--_000_MWHPR0701MB3674C0C1B88BCAE53F506B78A7699MWHPR0701MB3674_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi there!
   Thanks for the reply.

   I have installed MIT Kerberos 1.18.4, the latest that IBM supplies in it=
s AIX Toolbox for Linux.  The current version on MIT's website is 1.20.  Wh=
at version is the minimum required for OpenAFS?

   Like I said though, nm shows that the libkrb5.a library has the symbol i=
n question in it, so I'm not quite sure how providing a newer version would=
 alter the outcome...

Thank you.

-Ben



________________________________
From: Jeffrey E Altman
Sent: Sunday, August 14, 2022 3:32 AM
To: Ben Huntsman; openafs-devel@openafs.org
Subject: Re: [OpenAFS-devel] AIX build fails with missing symbol .krb5_c_ma=
ke_random_key

On 8/14/2022 2:31 AM, Ben Huntsman (ben@huntsmans.net<mailto:ben@huntsmans.=
net>) wrote:
There is a changeset https://gerrit.openafs.org/#/c/10107/ that looks like =
a substantially similar build failure, except on Linux.  However, that's a =
pretty old change and it would appear that this code worked on AIX more rec=
ently.  One thing to note, I'm using the krb5 from the AIX Linux Toolbox, a=
nd krb5.a is in /opt/freeware/lib.  nm shows that it indeed has that symbol=
 in it, and it's there on the command line...  Do most AIX users typically =
use the AIX Linux Toolbox kerberos, or a different implementation?


Look for a more recent MIT Kerberos.


--_000_MWHPR0701MB3674C0C1B88BCAE53F506B78A7699MWHPR0701MB3674_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
Hi there!</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
&nbsp; &nbsp;Thanks for the reply.&nbsp;&nbsp;</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
&nbsp; &nbsp;I have installed MIT Kerberos 1.18.4, the latest that IBM supp=
lies in its AIX Toolbox for Linux.&nbsp; The current version on MIT's websi=
te is 1.20.&nbsp; What version is the minimum required for OpenAFS?</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
&nbsp; &nbsp;Like I said though, nm shows that the libkrb5.a library has th=
e symbol in question in it, so I'm not quite sure how providing a newer ver=
sion would alter the outcome...</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
Thank you.</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
-Ben</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);" class=3D"elementToProof">
<br>
</div>
<div>
<div><br>
</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12p=
t; color:rgb(0,0,0);">
<br>
<hr tabindex=3D"-1" style=3D"display:inline-block; width:98%;">
<b>From:</b> Jeffrey E Altman<br>
<b>Sent:</b> Sunday, August 14, 2022 3:32 AM<br>
<b>To:</b> Ben Huntsman; openafs-devel@openafs.org<br>
<b>Subject:</b> Re: [OpenAFS-devel] AIX build fails with missing symbol .kr=
b5_c_make_random_key
<div><br>
</div>
</div>
<div class=3D"rps_f2dd">
<div>
<div class=3D"x_moz-cite-prefix">On 8/14/2022 2:31 AM, Ben Huntsman (<a hre=
f=3D"mailto:ben@huntsmans.net" target=3D"_blank" rel=3D"noopener noreferrer=
" data-auth=3D"NotApplicable" class=3D"x_moz-txt-link-abbreviated">ben@hunt=
smans.net</a>) wrote:<br>
</div>
<blockquote type=3D"cite">
<div class=3D"x_elementToProof" style=3D"font-family:Calibri,Arial,Helvetic=
a,sans-serif; font-size:12pt; color:rgb(0,0,0)">
There is a changeset&nbsp;<a href=3D"https://gerrit.openafs.org/#/c/10107/"=
 target=3D"_blank" rel=3D"noopener noreferrer" data-auth=3D"NotApplicable" =
id=3D"LPlnkOWALinkPreview" class=3D"x_moz-txt-link-freetext">https://gerrit=
.openafs.org/#/c/10107/</a>&nbsp;that looks like a substantially
 similar build failure, except on Linux.&nbsp; However, that's a pretty old=
 change and it would appear that this code worked on AIX more recently.&nbs=
p; One thing to note, I'm using the krb5 from the AIX Linux Toolbox, and kr=
b5.a is in /opt/freeware/lib.&nbsp; nm shows that
 it indeed has that symbol in it, and it's there on the command line...&nbs=
p; Do most AIX users typically use the AIX Linux Toolbox kerberos, or a dif=
ferent implementation?<br>
</div>
<br>
</blockquote>
<p style=3D"margin-top: 0px; margin-bottom: 0px;">Look for a more recent MI=
T Kerberos.</p>
<p style=3D"margin-top: 0px; margin-bottom: 0px;"><br>
</p>
</div>
</div>
</div>
</body>
</html>

--_000_MWHPR0701MB3674C0C1B88BCAE53F506B78A7699MWHPR0701MB3674_--