Bug#355095: [Pkg-dspam-misc] Bug#355095: libdspam7-drv-sqlite3: segfault with sqlite3 drive

Matthijs Mohlmann matthijs at cacholong.nl
Sat Mar 11 13:26:21 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carlos Z.F. Liu wrote:
> Package: libdspam7-drv-sqlite3
> Version: 3.6.4-1
> Severity: normal
> 
> I installed dspam with "apt-get install dspam libdspam7-drv-sqlite3",
> then edit /etc/dspam/dspam.conf and change "StorageDriver" entry to
> "/usr/lib/dspam/libsqlite3_drv.so". And then, run "dspam_stats -H root",
> I got following segfault error.
> 
> # dspam_stats -H root
> 25277: [03/03/2006 21:24:02] dlopen() failed: /usr/lib/dspam/libsqlite3_drv.so: /usr/lib/dspam/libsqlite3_drv.so: undefined symbol: sqlite3_bind_blob
> Segmentation fault
> 
> Seems like dspam can't find the so file, but it exist exactly in that
> directory.
> 
> # ll /usr/lib/dspam/
> total 44
> lrwxrwxrwx 1 root root    20 2006-03-03 19:52 libhash_drv.so -> libhash_drv.so.7.0.0
> lrwxrwxrwx 1 root root    20 2006-03-03 19:52 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-03 21:15 libsqlite3_drv.so -> libsqlite3_drv.so.7.0.0
> lrwxrwxrwx 1 root root    23 2006-03-03 21:15 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
> 
> 
> Thanks.
> 

Hi,

I found out the problem, libsqlite3_drv.so.7.0.0 wasn't linked against
libsqlite3.so due to a copy paste problem in configure.ac. I've added a
patch and in the next upload this will be fixed.

Regards,

Matthijs Mohlmann
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEEs/92n1ROIkXqbARAtdcAJ4o2dqL6GJ6juq4sWAeVHWPZzlIoQCcDLJo
f8nDcgtyAcmrVpMjHJUSU0I=
=NDcA
-----END PGP SIGNATURE-----





More information about the Pkg-dspam-misc mailing list