[Date Prev][Date Next] [Chronological] [Thread] [Top]

Help on Digital Unix 4.0 with BerkeleyDB 2.7.5


Has anyone had any luck in building OpenLDAP 1.2.3 using BerkeleyDB 2.7.5?

I build BerkeleyDB and installed it in the default location and then set the CPPFLAGS and LDFLAGS appropriately. However, the
./configure program does not seem to find the db_open function in the library so it doesn't think that it is db2.

Any words of wisdom?

The end of the config.log follows:
	configure:5709: checking for thread specific errno
	configure:5722: cc -o conftest -pthread -I/usr/local/BerkeleyDB/include -L/usr/local/BerkeleyDB/lib conftest.c  1>&5
	configure:5764: checking for DB2 library
	configure:5770: checking for db_open in -ldb
	configure:5789: cc -o conftest -pthread -I/usr/local/BerkeleyDB/include -L/usr/local/BerkeleyDB/lib conftest.c -ldb   1>&5
	configure: failed program was:
	#line 5778 "configure"
	#include "confdefs.h"
	/* Override any gcc2 internal prototype to avoid an error.  */
	/* We use char because int might match the return type of a gcc2
	    builtin and then its argument prototype would still apply.  */
	char db_open();

	int main() {
	; return 0; }
	configure:5820: checking for db.h
	configure:5830: cc -E -I/usr/local/BerkeleyDB/include conftest.c >/dev/null 2>conftest.out
	configure:5858: checking if db.h is DB2
	configure:5896: checking for Berkeley DB2

Ronald E. Fortin
Mesa Systems Guild, Inc.
60 Quaker Lane
Warwick, RI 02886