Re: Linking imapd with db-4.1.25

2003-06-13 Thread scott
QUESTION: Does the Berkeley 4.1.25 database not like the version of POSIX threads in Linux Mandrake 9.1, but is happy with the NGPT in Redhat 9.0? I ask because when I built Cyrus-IMAP 2.1.12 against the db4.1 libs on Mandrake 9.1, I ran into the problem described below: ///

Re: Linking imapd with db-4.1.25

2003-06-09 Thread Lars Peterson
On Fri, June 6, 2003 3:28 pm, you wrote: > 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 CV

Re: Linking imapd with db-4.1.25

2003-06-06 Thread Igor Brezac
On Fri, 6 Jun 2003, 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. > This is an unfortunate bug. Sleepycat added db handle locking in 4.1.25 and cyrus was not closing db handles

Re: Linking imapd with db-4.1.25

2003-06-06 Thread John Alton Tamplin
Lars Peterson wrote: Here's some output from config.log: 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

Re: Linking imapd with db-4.1.25

2003-06-06 Thread Lars Peterson
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.

Re: Linking imapd with db-4.1.25

2003-06-06 Thread John Alton Tamplin
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. -- John A. Tamplin Unix System Administrator Emory University, School of Public Health +1 404/727-9931

Re: Linking imapd with db-4.1.25

2003-06-06 Thread John Alton Tamplin
Lars Peterson wrote: Yes libdb-4.1.so is in the same directory I passed to configure for bdb-libdir. Permissions are same user I'm building as, and mode is 775. I was able to link against these libraries successfully for an openldap-2.1.19 build. Then I suggest looking at the log generated by conf

Re: Linking imapd with db-4.1.25

2003-06-06 Thread Igor Brezac
On Fri, 6 Jun 2003, John Alton Tamplin wrote: > Lars Peterson wrote: > > >Snippet from configure's output: > ><=== > >checking for db.h... yes > >checking for db_create in -ldb-4.1... no > >checking for db_create in -ldb4.1... no > >checking for db_create in -ldb41... no > >checking for db_create

Re: Linking imapd with db-4.1.25

2003-06-06 Thread Lars Peterson
On Fri, June 6, 2003 2:05 pm, John Alton Tamplin wrote: > Lars Peterson wrote: > >>Snippet from configure's output: >><=== >>checking for db.h... yes >>checking for db_create in -ldb-4.1... no >>checking for db_create in -ldb4.1... no >>checking for db_create in -ldb41... no >>checking for db_crea

Re: Linking imapd with db-4.1.25

2003-06-06 Thread John Alton Tamplin
Lars Peterson wrote: Snippet from configure's output: <=== checking for db.h... yes checking for db_create in -ldb-4.1... no checking for db_create in -ldb4.1... no checking for db_create in -ldb41... no checking for db_create in -ldb-4.0... yes ===> When I do an ldd on the resultant imapd binary

Linking imapd with db-4.1.25

2003-06-06 Thread Lars Peterson
Hello, I've built and installed db-4.1.25 in a non-standard location on my RedHat 9.0 machine and am having trouble getting cyrus-imapd-2.1.13 to against it. It appears that the configure script does not detect it properly, even if I invoke the configure script with the --with-bdb-libdir= and