3

安装 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?
4

1 回答 1

7

安装 libgdm 开发包:

aptitude install libgdbm-dev
于 2013-01-16T12:26:23.403 回答