The fix that worked for me: ln -s /usr/include/db3/db.h /usr/include/db.h if db.h is not there. Check in /lib and make sure you have a libdb.so there Check in /usr/lib/ and see if libdb.so is there also (it's a link to another lib I believe). . Move it somewhere else or delete the link (after you make a note of where it links to). The reason for this is that Redhat also has a link to libdb.so in /lib, so the two conflict. Rerun ldconfig -v Now try and recompile your Cyrus-imap. It should find the proper header file in /usr/include and the correct lib in /lib. You might also want to check the cyrus archive since the answer is there as well
Alain ----- Original Message ----- From: "Anderson Ferreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 28, 2001 3:59 PM Subject: Compiling cyrus-imap 1.6.24 > > Hi Patrick, > > I had problem the same but I did not understand its reply! If the > friends will be able to help! > > > Anderson. > > > > Date Mon, 10 Sep 2001 13:37:56 -0300 > To Frederik Seiffert <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > From Patrick Boutilier <[EMAIL PROTECTED]> > Reply-To: Patrick Boutilier <[EMAIL PROTECTED]> > Subject Re: Compiling cyrus-imap 1.6.24 > > Yes I did. Change line 47 of dump_deliver.c and line 51 of deliver.c from > > #include > > to > > #include > > > > Frederik Seiffert wrote: > > >Hello! > > > >In the cyrus mailing list, you wrote on Jul 28 2001: > >--- > >Has anybody successfully compiled cyrus-imap 1.6.24 or 1.6.25 under > >RedHat 7.1? I keep getting this from configure. > > > >checking for dbopen... no > >checking for dbopen in -ldb... no > > > >When I compile I get this error: > > > >dump_deliver.c > >dump_deliver.c:47:18: ndbm.h: No such file or directory > >make[1]: *** [dump_deliver.o] Error 1 > >make[1]: Leaving directory `/usr/local/src/iei/cyrus-imapd-1.6.25/imap' > >make: *** [all] Error 1 > > > >Is there any way to get the configure script to check for dbopen in -ldb-3 > ? > >--- > > > >As I'm getting just the same errors, I would like to ask if you have found > a > >way to compile cyrus imapd? > > > >Thank you very much! > >Frederik > > > > > > >