[OpenAFS-devel] AIX build fails with missing symbol .krb5_c_make_random_key
Daria Phoebe Brashear
shadow@gmail.com
Sun, 14 Aug 2022 16:04:43 -0400
--000000000000594d9e05e639075f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Regardless of whether it should, my suggestion is setting PATH_KRB5_CONFIG
(or just KRB5_CONFIG if you=E2=80=99re using 1.6)
On Sun, Aug 14, 2022 at 16:03 Ben Huntsman <ben@huntsmans.net> wrote:
> I did not, I just used the option --with-krb5=3D/opt/freeware
>
> Shouldn't that be enough since krb5-config is in /opt/freeware/bin?
>
> Thank you!
>
> -Ben
>
> ------------------------------
> *From:* Daria Phoebe Brashear <shadow@gmail.com>
> *Sent:* Sunday, August 14, 2022 12:57 PM
> *To:* Ben Huntsman <ben@huntsmans.net>
> *Cc:* Ken Hornstein <kenh@cmf.nrl.navy.mil>; openafs-devel@openafs.org <
> openafs-devel@openafs.org>
> *Subject:* Re: [OpenAFS-devel] AIX build fails with missing symbol
> .krb5_c_make_random_key
>
> did you tell it to use krb5-config, and where it was?
> PATH_KRB5_CONFIG=3D/path/to/krb5-config ./configure ...
>
>
> On Sun, Aug 14, 2022 at 3:53 PM Ben Huntsman (ben@huntsmans.net)
> <ben@huntsmans.net> wrote:
> >
> > Hi Ken!
> > No worries, but thank you for your pointers so far!
> >
> > It is interesting that krb5-config --libs does indeed show k5crypto:
> >
> > $ krb5-config --libs
> > -L/opt/freeware/lib64
> -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib
> -L/opt/freeware/lib64 -L/opt/freeware/lib -Wl,-brtl -lpthreads -lkrb5
> -lk5crypto -lcom_err
> >
> >
> > It would appear that the output from that is not being used by OpenAFS
> though, because in the original error I also didn't see the -blibpath...
> arguments nor references to /opt/freeware/lib64.
> >
> > Thanks!
> >
> > -Ben
> >
> > ________________________________
> > From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
> > Sent: Sunday, August 14, 2022 12:10 PM
> > To: Ben Huntsman <ben@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
> >
> > >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 can't speak for that; I lack the energy at this time to go delving
> > into the configure script for OpenAFS. The traditional way that Kerber=
os
> > options are detected by autoconf (as Benjamin Kaduk alluded to) is
> > you give it a path to a krb5-config script which will tell you the
> > right compile and link-time options to build a Kerberos program.
> >
> > --Ken
>
>
>
>
> --
> Daria Phoebe Brashear
> AuriStor, Inc
> dariaphoebe.com
>
--=20
--
Daria Phoebe Brashear
AuriStor, Inc.
dariaphoebe.com
--000000000000594d9e05e639075f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"auto">Regardless of whether it should, my suggestion is setting=
PATH_KRB5_CONFIG (or just KRB5_CONFIG if you=E2=80=99re using 1.6)</div><d=
iv><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On =
Sun, Aug 14, 2022 at 16:03 Ben Huntsman <<a href=3D"mailto:ben@huntsmans=
.net">ben@huntsmans.net</a>> wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-=
style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div dir=3D"ltr">
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
I did not, I just used the option --with-krb5=3D/opt/freeware</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
Shouldn't that be enough since krb5-config is in /opt/freeware/bin?</di=
v>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
Thank you!</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
<br>
</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
-Ben</div>
<div style=3D"font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt=
;color:rgb(0,0,0)">
<br>
</div>
<div id=3D"m_7843984973692482776appendonsend"></div>
<hr style=3D"display:inline-block;width:98%">
<div id=3D"m_7843984973692482776divRplyFwdMsg" dir=3D"ltr"><font face=3D"Ca=
libri, sans-serif" style=3D"font-size:11pt;font-family:Calibri,sans-serif;c=
olor:rgb(0,0,0)"><b style=3D"font-family:Calibri,sans-serif">From:</b> Dari=
a Phoebe Brashear <<a href=3D"mailto:shadow@gmail.com" target=3D"_blank"=
style=3D"font-family:Calibri,sans-serif">shadow@gmail.com</a>><br>
<b style=3D"font-family:Calibri,sans-serif">Sent:</b> Sunday, August 14, 20=
22 12:57 PM<br>
<b style=3D"font-family:Calibri,sans-serif">To:</b> Ben Huntsman <<a hre=
f=3D"mailto:ben@huntsmans.net" target=3D"_blank" style=3D"font-family:Calib=
ri,sans-serif">ben@huntsmans.net</a>><br>
<b style=3D"font-family:Calibri,sans-serif">Cc:</b> Ken Hornstein <<a hr=
ef=3D"mailto:kenh@cmf.nrl.navy.mil" target=3D"_blank" style=3D"font-family:=
Calibri,sans-serif">kenh@cmf.nrl.navy.mil</a>>; <a href=3D"mailto:openaf=
s-devel@openafs.org" target=3D"_blank" style=3D"font-family:Calibri,sans-se=
rif">openafs-devel@openafs.org</a> <<a href=3D"mailto:openafs-devel@open=
afs.org" target=3D"_blank" style=3D"font-family:Calibri,sans-serif">openafs=
-devel@openafs.org</a>><br>
<b style=3D"font-family:Calibri,sans-serif">Subject:</b> Re: [OpenAFS-devel=
] AIX build fails with missing symbol .krb5_c_make_random_key</font>
<div>=C2=A0</div>
</div>
<div><font size=3D"2" style=3D"color:rgb(0,0,0)"><span style=3D"font-size:1=
1pt">
<div>did you tell it to use krb5-config, and where it was?<br>
PATH_KRB5_CONFIG=3D/path/to/krb5-config ./configure ...<br>
<br>
<br>
On Sun, Aug 14, 2022 at 3:53 PM Ben Huntsman (<a href=3D"mailto:ben@huntsma=
ns.net" target=3D"_blank">ben@huntsmans.net</a>)<br>
<<a href=3D"mailto:ben@huntsmans.net" target=3D"_blank">ben@huntsmans.ne=
t</a>> wrote:<br>
><br>
> Hi Ken!<br>
>=C2=A0=C2=A0=C2=A0 No worries, but thank you for your pointers so far!<=
br>
><br>
>=C2=A0=C2=A0=C2=A0 It is interesting that krb5-config --libs does indee=
d show k5crypto:<br>
><br>
> $ krb5-config --libs<br>
> -L/opt/freeware/lib64 -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/=
lib:/usr/lib:/lib -L/opt/freeware/lib64 -L/opt/freeware/lib -Wl,-brtl -lpth=
reads -lkrb5 -lk5crypto -lcom_err<br>
><br>
><br>
> It would appear that the output from that is not being used by OpenAFS=
though, because in the original error I also didn't see the -blibpath.=
.. arguments nor references to /opt/freeware/lib64.<br>
><br>
> Thanks!<br>
><br>
> -Ben<br>
><br>
> ________________________________<br>
> From: Ken Hornstein <<a href=3D"mailto:kenh@cmf.nrl.navy.mil" targe=
t=3D"_blank">kenh@cmf.nrl.navy.mil</a>><br>
> Sent: Sunday, August 14, 2022 12:10 PM<br>
> To: Ben Huntsman <<a href=3D"mailto:ben@huntsmans.net" target=3D"_b=
lank">ben@huntsmans.net</a>><br>
> Cc: <a href=3D"mailto:openafs-devel@openafs.org" target=3D"_blank">ope=
nafs-devel@openafs.org</a> <<a href=3D"mailto:openafs-devel@openafs.org"=
target=3D"_blank">openafs-devel@openafs.org</a>><br>
> Subject: Re: [OpenAFS-devel] AIX build fails with missing symbol .krb5=
_c_make_random_key<br>
><br>
> >Ah, yes, I believe you are right.=C2=A0 That library does exist on=
my<br>
> >system also, and I manually added it to Makefile.config and the bu=
ild<br>
> >continued.=C2=A0 The question is then, why didn't ./configure =
detect it and<br>
> >add it?<br>
><br>
> I can't speak for that; I lack the energy at this time to go delvi=
ng<br>
> into the configure script for OpenAFS.=C2=A0 The traditional way that =
Kerberos<br>
> options are detected by autoconf (as Benjamin Kaduk alluded to) is<br>
> you give it a path to a krb5-config script which will tell you the<br>
> right compile and link-time options to build a Kerberos program.<br>
><br>
> --Ken</div></span></font></div></div><div dir=3D"ltr"><div><font size=
=3D"2" style=3D"color:rgb(0,0,0)"><span style=3D"font-size:11pt"><div><br>
<br>
<br>
<br>
-- <br>
Daria Phoebe Brashear<br>
AuriStor, Inc<br>
<a href=3D"http://dariaphoebe.com" target=3D"_blank">dariaphoebe.com</a><br=
>
</div>
</span></font></div>
</div>
</blockquote></div></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature" =
data-smartmail=3D"gmail_signature">--<br>Daria Phoebe Brashear<br>AuriStor,=
Inc.<br><a href=3D"http://dariaphoebe.com">dariaphoebe.com</a></div>
--000000000000594d9e05e639075f--