刚google了一下。。。。
Missing or Misconfigured libgdbm.so
On some Linux RedHat systems you might encounter a problem during the perl Makefile.PL stage, when the installed from the rpm package Perl was built with the gdbm library, but the library isn't actually installed. If this is your situation make sure you install it before proceeding with the build process.
You can check how Perl was built by running the perl -V command:
% perl -V | grep libs
On my machine I get:
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
Sometimes the problem is even more obscure: you do have libgdbm installed but it's not properly installed. Do this:
% ls /usr/lib/libgdbm.so*
If you get at least three lines like I do:
lrwxrwxrwx /usr/lib/libgdbm.so -> libgdbm.so.2.0.0
lrwxrwxrwx /usr/lib/libgdbm.so.2 -> libgdbm.so.2.0.0
-rw-r--r-- /usr/lib/libgdbm.so.2.0.0
you are all set. On some installations the libgdbm.so symbolic link is missing, so you get only:
lrwxrwxrwx /usr/lib/libgdbm.so.2 -> libgdbm.so.2.0.0
-rw-r--r-- /usr/lib/libgdbm.so.2.0.0
To fix this problem add the missing symbolic link:
% cd /usr/lib
% ln -s libgdbm.so.2.0.0 libgdbm.so
Now you should be able to build mod_perl without any problems.
Note that you might need to prepare this symbolic link as well:
lrwxrwxrwx /usr/lib/libgdbm.so.2 -> libgdbm.so.2.0.0
with:
% ln -s libgdbm.so.2.0.0 libgdbm.so.2
Of course if when you read this a new version of the libgdbm library will be released, you will have to adjust the version numbers. We didn't use the usual xx version replacement here, to make it easier to understand how the symbolic links should be set.
【 在 aae (幽谷百合) 的大作中提到: 】
: 刚刚装了gcc那一系列东西啊。。。。。。
--
FROM 211.101.19.14