安装mod_perl时出现如下所示的错误。 我使用的是Ubuntu 12.04,Apache2.2.22,Perl 5.14。 请让我知道如何解决它
root@hafsal-sparksupport:~/mod_perl-2.0.7# perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
Reading Makefile.PL args from @ARGV
MP_APXS = /usr/local/apache2/bin/apxs
no conflicting prior mod_perl version found - good.
************* WARNING *************
Your Perl is configured to link against libgdbm,
but libgdbm.so was not found.
You could just symlink it to /usr/lib/x86_64-linux-gnu/libgdbm.so.3.0.0
************* WARNING *************
[ error] Unable to determine server version, aborting.
[ error] Invalid MP_APXS specified?
答案 0 :(得分:6)
安装libgdm dev软件包:
aptitude install libgdbm-dev