in reply to Re^2: Static linking of DB_File
in thread Static linking of DB_File

But I am encountering few errors

Listen to the error message :)

GDBM_File.xs:7:18: error: gdbm.h: No such file or directory GDBM_File.xs:16

http://cpansearch.perl.org/src/JESSE/perl-5.14.1/ext/GDBM_File/Makefile.PL

LIBS => ["-lgdbm", "-ldbm"]

GDBM_File is the perl interface to libgdbm, which you need to have installed if you wish to install GDBM_File

DB_File, GDBM_File, SDBM_File, ODBM_File and NDBM_File are core perl modules. But I noticed that only SDBM_File being installed. So I am trying to install rest of the modules manually. Any help is really appreciated

See AnyDBM_File, it explains, SDBM comes with perl (i'm sure other docs like READMEs explain this also), the rest are provided by the operating-system. You don't need all of them :)