Arla Compiling problem that I can't seem to fix
Harald Barth
haba at pdc.kth.se
Tue Dec 12 12:28:45 CET 2000
>I checked my /usr/local/lib and /usr/arla/lib and when I do grep
>krb_getrealmofhost *.*, I get Binary file libkrb4.a matches and
>Binary file libkrbafs.a matches in /usr/local/lib. In usr/arla/lib,
>when I do the same thing, I get Binary file libarlalib.a matches and
>Binary file libko.a matches. So obviously the function is there.
Use nm instead. Example:
$ nm -o /usr/*/lib/*.a | grep realmofhost
/usr/athena/lib/libkafs.a:afskrb.o: U krb_realmofhost
/usr/athena/lib/libkafs.a:common.o: U krb_realmofhost
/usr/athena/lib/libkrb.a:get_krbrlm.o: U krb_realmofhost
/usr/athena/lib/libkrb.a:getrealm.o:00000250 T krb_realmofhost
Which means that only /usr/athena/lib/libkrb.a really has the
definition, the other references are only places where the symbol is
used.
Follow up question: I use the krb_realmofhost from KTH-KRB (V4). Where
do/should the MIT KRB users find it? This seems to be a question
and answer shat should go into a FAQ.
Harald.
More information about the Arla-drinkers
mailing list