So, did you install BerkleyDB module in your directory where perl 5.8.5 resides?
What happens when you do this?
perl -MBerkeleyDB -e 1
| [reply] [d/l] |
Its giving me this error:
Can't load '/home/garimag/perl/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/BerkeleyDB/BerkeleyDB.so' for module BerkeleyDB: libdb-4.2.so: cannot open shared object file: No such file or directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm line 70.
at -e line 0
Compilation failed in require.
BEGIN failed--compilation aborted.
Undefined subroutine &BerkeleyDB::Term::close_everything called at /home/garimag/perl/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/BerkeleyDB.pm line 1764.
END failed--call queue aborted.
It resides in my home directory, I use the following export command:
export PERL5LIB=/home/garimag/src:/home/garimag/perl/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto:/home/garimag/perl/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi:/home/garimag/perl/lib/perl5/site_perl/5.8.5:/home/garimag/perl/lib64:/home/garimag/perl/lib:/home/garimag/src/clairlib/lib
| [reply] |
Oh, can you find this file anywhere in your system -- libdb-4.2.so ? | [reply] |