Did you have to do any more softlinks? During my next build I got this:
Compiling testbdb.C /usr/local/bin/g++32 -I/usr/local/include -L/usr/local/lib -o testbdb testbdb.o libbdbobj.a libbdbobj.a(bdbobj.o): In function `bdbobj_open': bdbobj.o(.text+0x10b): undefined reference to `db_create' collect2: ld returned 1 exit status gmake[2]: *** [testbdb] Error 1 gmake[2]: Leaving directory `/usr/home/sysop/wce-install/courier-0.44.2/bdbobj' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/home/sysop/wce-install/courier-0.44.2/bdbobj' gmake: *** [all-recursive] Error 1 I used the package for db3, and noticed some libtool warnings: libtool: install: warning: `libdb3.la' has not been installed in `/usr/local/lib' I'm trying to add those files now, but thought I'd see if this jogged your memory of anything else I might be missing. Thanks Gordon. m/ -----Original Message----- From: Gordon Messmer [mailto:[EMAIL PROTECTED] Sent: Sunday, November 30, 2003 10:07 PM To: Mitch (WebCob) Cc: Courier Users Subject: Re: [courier-users] gdbm fatal: couldn't init cache -- any idea of the source? Mitch (WebCob) wrote: > Hmmm - so what did you do to fix? I installed db3, made sure that libdb.so was a symlink to libdb3.so, and that db.h was a symlink to db3/db.h. Recompiled courier with --with-db=db so that gdbm wasn't used. Removed all of the dat files from etc/courier and ran the required "make*" commands to regenerate them. Courier worked fine with db3. > I did check that there were no limits for the courier user though... set a > shell for the user and ran ulimit - it returns "unlimited" - also checked > the login.conf - no limits in effect that I can see. We came up with the same thing, but gdbm should only print that error if it fails to malloc() memory for its "bucket_cache". FreeBSD has a malloc implementation that allows for debugging, IIRC. Perhaps that facility could help you track it down. I'm trying to get access to the debugging information I left when I tracked this problem down myself. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
