RE: [Exim] Problems Building 4.20 with BerkeleyDB.4.1.25

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Steve Burkett
CC: exim-users
Assunto: RE: [Exim] Problems Building 4.20 with BerkeleyDB.4.1.25
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