Saturday, May 5, 2012

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:

  1. 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?

    ReplyDelete
  2. 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.

    ReplyDelete
  3. 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 !!

    ReplyDelete