[Pkg-dspam-misc] problem with sqlite3 and hash drive

Carlos Z.F. Liu carlosliu at users.sourceforge.net
Thu Mar 2 04:35:32 UTC 2006


Hi,

I installed dspam on my system from experimental and try to test it
under a single user environment (use it with procmail and mutt). But
unlucky, I met two serious problems.

1. segfault with sqlite3 drive

   a) First, install: apt-get install dspam libdspam7-drv-sqlite3

   b) Then run dspam_stats with root privilege:
       # dspam_stats -H root
       2256: [03/02/2006 02:42:56] dlopen() failed: /usr/lib/dspam/libsqlite3_drv.so: /usr/lib/dspam/libsqlite3_drv.so: undefined symbol: sqlite3_bind_blob
       Segmentation fault

   c) Have a look in the directory:
      # ls -l /usr/lib/dspam/
      total 44
      lrwxrwxrwx 1 root root    20 2006-03-02 00:20 libhash_drv.so -> libhash_drv.so.7.0.0
      lrwxrwxrwx 1 root root    20 2006-03-02 00:20 libhash_drv.so.7 -> libhash_drv.so.7.0.0
      -rw-r--r-- 1 root root 19280 2006-02-20 00:23 libhash_drv.so.7.0.0
      lrwxrwxrwx 1 root root    23 2006-03-02 02:41 libsqlite3_drv.so -> libsqlite3_drv.so.7.0.0
      lrwxrwxrwx 1 root root    23 2006-03-02 02:41 libsqlite3_drv.so.7 -> libsqlite3_drv.so.7.0.0
      -rw-r--r-- 1 root root 24084 2006-02-20 00:23 libsqlite3_drv.so.7.0.0


2. can't train it with hash drive
   First, install dspam with "apt-get install dspam", then run
   dspam_stats: "dspam_stats -H root". At this stage, I can see
   "root.css" and "root.lock" in /var/spool/dspam/data/local/root
   directory. But no matter how I train it with "dspam_corpus", two
   files under above direcotry won't be touched. The new result of
   dspam_stats is exactly same as the one before training.


Is there anything wrong with my experiment?

BTW, is it possible add "--enable-homedir" to configure option?


(I'm not on the list, please cc me. Thanks)

-- 
 Best Regards,
 Carlos



More information about the Pkg-dspam-misc mailing list