Building Krb5 1.3.6 on Mac OS X

John Rudd jrudd at ucsc.edu
Thu Jan 13 16:03:23 EST 2005


When I try to build on Mac OS X (10.3.7), everything is fine until 
lib/rpc/unit-test:

making all in lib/rpc/unit-test...
gcc -L../../../lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual 
-Wcast-align -Wconversion -Wshadow -Wno-comment -pedantic  -o client 
client.o rpc_test_clnt.o \
         -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
ld: Undefined symbols:
_krb5_gss_dbg_client_expcreds
_gss_mech_krb5
_gss_mech_krb5_old



But all I really want is rlogin, klogind, rsh, rcp, and krshd.  So, if I 
go to the appl/bsd dir and do a make, I get:

gcc -L../../lib -g -O2 -Wall -Wmissing-prototypes -Wcast-qual 
-Wcast-align -Wconversion -Wshadow -Wno-comment -pedantic  -o rsh krsh.o 
kcmd.o forward.o   -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err
ld: Undefined symbols:
_krb5_net_read
_krb5_random_confounder
_krb5_write_message
_krb_net_read


Anyone know what's going on and how to fix/avoid it?  I did a configure 
with "--with-krb4" as its only argument.  It's a pretty vanilla Mac OS X 
install, with the apple developer tools (which are what I'm building 
with).  If you need more information, just ask.



More information about the Kerberos mailing list