Linking imapd with db-4.1.25

Lars Peterson lars at itech-mke.com
Fri Jun 6 16:28:53 EDT 2003


On Fri, June 6, 2003 2:46 pm, John Alton Tamplin wrote:
> Igor Brezac wrote:
> 
>>This problem is fixed in cvs for both 2.1.x and 2.2.
>>
>>
> Ok, so it was a problem in Cyrus not db?  Thanks.
> 

I'm not so sure.

Checked 2.1 branch out of CVS and I still can't get it to work. Same results
with 2.2-ALPHA.

It finds db-4.0 but not db-4.1.

Upon further investigation, it looks like maybe the problem is with db-4.1.25
and not cyrus...

Here's some output from config.log:

<====snip====>
configure:5808: checking for db_create in -ldb-4.1
configure:5839: gcc -o conftest -Wall -g -O2 -I/usr/local/itech/iwaymail/include
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -
L/usr/local/itech/iwaymail/lib conftest.c -ldb-4.1 
-L/usr/local/itech/iwaymail/lib  -lresolv  -Wl,-rpath,/usr/local/itech/iw
aymail/lib >&5
/usr/local/itech/iwaymail/lib/libdb-4.1.so: undefined reference to
`pthread_condattr_setpshared'
/usr/local/itech/iwaymail/lib/libdb-4.1.so: undefined reference to
`pthread_mutexattr_destroy'
/usr/local/itech/iwaymail/lib/libdb-4.1.so: undefined reference to
`pthread_mutexattr_setpshared'
/usr/local/itech/iwaymail/lib/libdb-4.1.so: undefined reference to
`pthread_mutexattr_init'
/usr/local/itech/iwaymail/lib/libdb-4.1.so: undefined reference to
`pthread_mutex_trylock'
collect2: ld returned 1 exit status
configure:5842: $? = 1
<====snip====>

Any ideas where I might find some support for db-4.1.25? Can't find any mailing
lists or news feeds on sleepycat's site.

Lars






More information about the Info-cyrus mailing list