On Tue, 26 Aug 2003, Steve Burkett wrote:
> I've got the same problem... Pesky DB_Create error. And conflicting
> syntax in the examples completely confused me... So it's supposed to
> be:
>
> DBMLIB=/usr/local/BerkeleyDB.4.1/lib/libdb.a
Yes, that is correct. It gives static linking.
> gcc -c -O -I/usr/local/BerkeleyDB.4.1/include -o exim_dbmbuild.o
> exim_dbmbuild.c
> gcc -o exim_dbmbuild exim_dbmbuild.o \
> -lnsl -lcrypt /usr/local/BerkeleyDB.4.1/lib/libdb.a
> /usr/local/BerkeleyDB.4.1/lib/libdb.a(mut_pthread.o)(.text+0x87): In
> function `__db_pthread_mutex_init':
> : undefined reference to `pthread_mutexattr_destroy'
No idea. I have no experience of using threads.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book