New threading library & python

Kirill Ponomarew krion at FreeBSD.org
Sun Feb 15 09:45:01 PST 2004


Hi,

On Sun, Feb 15, 2004 at 12:37:28PM -0500, Derek Tattersall wrote:
> I use spambayes, apython based bayesian mail filter.  Today I rebuilt
> python 2.3 for no discernible reason, and spambayes failed 
> 
> --- Logging /home/dlt/mail/procmail.log for dlt, Fatal error 'Spinlock
> called when not threaded.' at line 83 in file
> /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2)
> procmail: Program failure (-6) of "/usr/local/bin/sb_filter.py"
> procmail: Rescue of unfiltered data succeeded
> 
> My problem is that I don't really understand what the replacement of the
> pthreads library with the kse library means, and I can't go dig it out
> of the last couple weeks of archives.  I fixed it by rebuilding python
> without thread and rebuilding py-bsddb to link to the new python.  
> 
> Could somebody explain a) what went wrong, and b) what is the correct
> fix for this library problem?  And please copy me, as I am not
> subscribed to this list.

Try to use libmap.conf(5), rebuild python, it should fix your
problems. 

-Kirill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040215/11bdc12b/attachment.bin


More information about the freebsd-ports mailing list