Compile Error: DBA Could not find necessary header file

Error when compiling php
checking for cURL support... no
checking if we should use cURL for url streams... no
checking for QDBM support... no
configure: error: DBA: Could not find necessary header file(s).
To resolve, install gdbm-devel

3 comments:

Mr Jc said...

How do you install that? I've tried
sudo apt-get install gdbm-devel
but that gave me "E: Unable to locate package gdbm-devel" and I also tried
yum install gdbm-devel but only got
No package gdbm-devel available.

So, how does one actually install this?

Nelson said...

Hi Jc

I was able to install gdbm-devel using yum on my CentOS 6.3. If you are not using CentOS or RHEL, then I could not help but you could check rpmfind.net and see if there are package suitable to your OS.

Prajith said...

configure: error: DBA: Could not find necessary header file(s).
solution: yum install gdbm-devel

If you still have issues :

Try installing below :

yum install php-dba
Error still exists.
yum install qdbm*
Error still exists.
yum install db4*
This should do it !!

Post a Comment