Another OpenCA error – The PERL DB_File module requires db4-devel
while installing OpenCA package on CentOS machine. The error is similar to the ones i had faced while installing OpenCA – PERL XML Parser module requires expat-devel and openssl/err.h, no such file or directory. Well, this tutorial will explain how to solve “PERL DB_File module requires db4-devel.”
Below is the snapshot of the error:
$make checking Perl module ExtUtils::MakeMaker 6.31+... Ok. checking DB_File devel... ERROR! *** ERROR::The PERL DB_File module requires the db4-devel one (/usr/include/db.h or /usr/include/libdb4/db.h)!
Fix PERL DB_File module requires db4-devel
The make
failed while checking developer package of DB_FILE
and it means, installing libdb-devel
should solve the error.
On CentOS:
# yum install libdb-devel
On Ubuntu variants:
# apt-get install libdb-dev
That’s it! Now the OpenCA will compile without any problem.
Thanks for posting, it helped me
I’m Glad it helped you.