My Oracle Support Banner

Attempts To Configure Berkeley DB Build Fail With C Compiler Cannot Create Executables (Doc ID 2339088.1)

Last updated on OCTOBER 17, 2019

Applies to:

Berkeley DB - Version 6.1.23 and later
Information in this document applies to any platform.

Symptoms

 Attempts to build Berkeley DB with:
../dist/configure --prefix=${BDBINSTALLDIR} --enable-cxx --enable-sql --enable-debug --enable-diagnostic --enable-posixmutexes --enable-pthread_api --enable-umrw --with-mutex=POSIX/pthreads


fail with:

checking whether the C compiler works... no
Configure: error: in '/home/oracle/Berkeley_DB/db-6.2.32/build_unix':
configure: error: C compiler cannot create executables
See 'config.log' for more details

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.