运行./configure安装Kerberos v5时出错

时间:2020-04-22 16:26:54

标签: gcc kerberos ubuntu-18.04

我正在尝试在ubuntu 18.04上安装kerberos。如this link中的手册所述,步骤如下:

  1. cd /u1/krb5-1.3/src
  2. ./ configure
  3. 制作

当我运行 ./ configuration 时,它会检查一些依赖项,但找不到 res_search

这些是我终端上的日志:

configure: creating cache ./config.cache
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ANSI C... none needed
Looking for ././config
configure: adding extra warning flags for gcc
built in krb4 support
checking which version of com_err to use... krb5
checking which version of subsystem package to use... krb5
checking for an ANSI C-conforming const... yes
checking for gethostbyname... yes
checking for socket... yes
checking if DNS Kerberos lookup support should be compiled in... yes
checking for res_search... no
checking for res_search in -lresolv... no
configure: error: Cannot find resolver support routine res_search in -lresolv.

最后两行是导致此命令失败的原因。

我该怎么办?

谢谢。

1 个答案:

答案 0 :(得分:0)

如@Mat所说,该版本较旧,而最新版本的kerberos很好。

相关问题