You must compile Kerberos V5 without the UCB compatibility
libraries. This means that /usr/ucblib must not be in the
LD_LIBRARY_PATH environment variable when you compile it. Alternatively
you can use the -i
option to cc, by using the specifying
CFLAGS=-i
option to configure.
If you are compiling for a 64-bit execution environment, you may need
to configure with the option CFLAGS="-D_XOPEN_SOURCE=500
-D__EXTENSIONS__"
. This is not well tested; at MIT we work primarily
with the 32-bit execution environment.