Yes, I agree that's the key line.
How do I get the header and libraries to match?
I installed db4 through yum as suggested.
I then ran,
./configure --enable-redhat
Quote:
checking for Berkeley DB headers in /usr/local/include/db4.2... no
checking for Berkeley DB headers in /usr/local/include/db42... no
checking for Berkeley DB headers in /usr/local/include/db4.1... no
checking for Berkeley DB headers in /usr/local/include/db41... no
checking for Berkeley DB headers in /usr/local/include/db4... no
checking for Berkeley DB headers in /usr/local/include/... no
checking for Berkeley DB headers in /usr/include/db4.2... no
checking for Berkeley DB headers in /usr/include/db42... no
checking for Berkeley DB headers in /usr/include/db4.1... no
checking for Berkeley DB headers in /usr/include/db41... no
checking for Berkeley DB headers in /usr/include/db4... yes
checking /usr/include/db4/db.h version >= 4.1.0... 4.3.27, yes
checking for Berkeley DB link (-ldb-4.2)... yes
checking Berkeley DB library version >= 4.1.0... header/library version mismatch (4.3.27/4.2.52), no
checking for Berkeley DB headers in /usr/include/... yes
checking /usr/include//db.h version >= 4.1.0... 4.3.27, yes
checking for Berkeley DB link (-ldb-4.2)... yes
checking Berkeley DB library version >= 4.1.0... header/library version mismatch (4.3.27/4.2.52), no
Make sure you have the required Berkeley DB libraries AND headers installed.
You can download the latest version from http://www.sleepycat.com.
If you have installed BDB in a non standard location use the
--with-bdb=/path/to/bdb configure option and make sure
your linker is configured to check for libraries there.
configure: error: Berkeley DB library required but not found!
|