0

我目前正在我的 Debian 6.0.9 上运行 DirectAdmin,并收到一条消息,提示 Exim 需要更新。所以我做了我的常规命令:

./build update
./build versions
./build update_versions

但是,每当我运行这些命令时,都会出现以下错误:

In file included from tls.c:121:
tlscert-openssl.c: In function ‘asn1_time_copy’:
tlscert-openssl.c:114: warning: passing argument 2 of ‘ASN1_TIME_print’ discards qualifiers from pointer target type
/usr/include/openssl/asn1.h:1006: note: expected ‘struct ASN1_TIME *’ but argument is of type ‘const struct ASN1_TIME *’
gcc tod.c
gcc transport.c
gcc tree.c
gcc verify.c
gcc lookups/lf_quote.c
gcc lookups/lf_check_file.c
gcc lookups/lf_sqlperform.c
gcc local_scan.c
cc perl.c
gcc malware.c
gcc mime.c
gcc regex.c
gcc spam.c
gcc spool_mbox.c
gcc demime.c
gcc bmi_spam.c
gcc spf.c
gcc srs.c
gcc dcc.c
gcc dmarc.c
gcc dane.c
gcc version.c
gcc -o exim
/usr/bin/ld: cannot find -lgdbm
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.85/build-Linux-x86_64'
make: *** [all] Error 2

*** The make has failed, would you like to try to make again? (y,n): n

谷歌并没有真正的帮助,我的想法已经不多了。

4

1 回答 1

1

学分去三重

服务器缺少 libgdbm-dev。所以之后

sudo apt-get install libgdbm-dev

它工作正常。

于 2015-02-16T09:31:13.807 回答