http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5086
------- Additional Comments From [EMAIL PROTECTED] 2007-02-08 15:30 ------- Ran into this as well with the perl.pkg files from www.sunfreeware.com. a really quick work round is to create a softlink to the BerkeleyDB dir. Then recompile the DB_File perl modules. No need recompile the perl source just for this one module. --EXAMPLE-- cd /usr/local/lib ln -s BerkeleyDB.4.2 BerkeleyDB --EXAMPLE-- -- EXAMPLE ls -- lrwxrwxrwx 1 root 16 Feb 8 17:49 BerkeleyDB -> ./BerkeleyDB.4.2 drwxr-xr-x 7 bin 512 Feb 5 17:54 BerkeleyDB.4.2 -- EXAMPLE ls -- I also like setting the LD_LIBRARY_PATH environmental variables to include the BerkeleyDB file and OpenSSL. -- EXAMPLE -- LD_LIBRARY_PATH=/usr/lib:/usr/lib/X11:/usr/local/lib:/usr/local/BerkeleyDB/lib:/usr/local/ssl/lib -- EXAMPLE -- - Hope this helps(In reply to comment #2) > Thanks for the fast reply, and for guiding me. > > I was really scratching my head on this one. It works now. > > Here is what I did: > > 1. Downloaded and installed latest Perl 5.8.8 (but that didn't changed > anything) > > 2. Downloaded and installed DB_File-1.814, but I had other errors now. > > 3. I found out 'make test' was failing building DB_File. I than did some > reading > and found > out I had installed BerkeleyDB_4.2 and DB_File didn't like it. > > 4. Edited config.in, re-ran 'Perl makefile.PL', make, and now make test > completed normally...Yes! > My config.in looked something like: > INCLUDE = /usr/local/BerkeleyDB.4.2/include > INCLUDE = /usr/local/include > INCLUDE = /usr/include > > LIB = /usr/local/BerkeleyDB.4.2/lib > LIB = /usr/local/lib > LIB = /usr/lib > > DBNAME = -ldb-4.2 > > Now, spamassassin --lint -D returns doesn't coredump anymore, and shows proper > values: > > [22713] dbg: bayes: tie-ing to DB file R/O /var/spool/bayes/bayes_toks > [22713] dbg: bayes: tie-ing to DB file R/O /var/spool/bayes/bayes_seen > [22713] dbg: bayes: found bayes db version 3 > [22713] dbg: bayes: DB journal sync: last sync: 0 > [22713] dbg: bayes: not available for scanning, only 0 spam(s) in bayes DB < > 200 > [22713] dbg: bayes: not scoring message, returning undef > [22713] dbg: bayes: DB expiry: tokens in DB: 0, Expiry max size: 50000000, > Oldest atime: 0, Newest atime: 0, Last expire: 0, Current time: 1157563337 > [22713] dbg: bayes: DB journal sync: last sync: 0 > [22713] dbg: bayes: untie-ing > [22713] dbg: bayes: untie-ing db_toks > [22713] dbg: bayes: untie-ing db_seen > > Anyway. Thanks JM for pointing me in the right direction. > > Real. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
