Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am installing software and one of the dependencies is mod_perl, when i run

  #perl Makefile.PL 

I receive this error:

***** WARNING *****

Your Perl is configured to link against libgdbm,

but was not found.

You could just symlink it to /usr/lib/

EDIT: I am using RHEL 5

HELP me???

share|improve this question
up vote 3 down vote accepted

I ran into this issue awhile back, check to see if libgdbm is installed, if it is do the following to ensure its linked correctly:

Just noticed you said you were using RHEL5 same system I was using so these should work perfectly for you

ls -l /usr/lib/*

It may look similar to this:

/usr/lib/ ->

If so you can run this command to symlink

cd /usr/lib
ln -s

Then run the command again:

ls -l /usr/lib/*  

should look something like this:

/usr/lib/ ->
/usr/lib/ ->

Try to install again

share|improve this answer
THANKS! Your solution worked for me. – Tsevg9 Jul 6 '12 at 14:54
Your welcome! I just did this about two weeks ago – JMeterX Jul 6 '12 at 14:56

It's more helpful to give an idea of what kind of system you're talking about.

Just for grins, I'm going to guess Ubuntu Linux.

You could do exactly what it says: read the manpage for ln(1) for more details on symlinks, but:

 ln -s /usr/lib/ /usr/lib/

might just fix your problem.

It might not, because there are so many other things that could affect this and you have not narrowed down the field much for us.

I would suspect that a better approach would be to use your system's native package manager, if my guess at ubuntu is correct, I think you want:

apt-get install libapache2-mod-perl2

If the native package manager approach won't work for you, even more reason why you need to give more information and write a better question.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.