[Spambayes] .procmailrc ImportError Shared Object not found?
cb at netalyst.com
cb at netalyst.com
Sun Jan 18 19:06:59 EST 2004
when I attempt to run sb_filter.py via .procmailrc, I get the following error:
ImportError: Shared object "libdb3.so.3" not found
I'd be grateful for troubleshooting hints.
SETUP:
I'm running on a machine where I don't have root privileges, so I installed this way:
python2.2 setup.py install --home /usr/home/netalyst/usr/local/ --install-purelib /usr/home/netalyst/usr/local/lib/python2.2 --install-platlib /usr/home/netalyst/usr/local/lib/python2.2
which seemed to work, and then initialized .hammie.db:
setenv PYTHONPATH /usr/home/netalyst/usr/local/lib/python2.2
python2.2 /usr/home/netalyst/usr/local/bin/sb_filter.py -d .hammie.db -n
which also worked. However, the .procmailrc script below fails, with the "libdb3.so.3 not found" error
.procmailrc
LOGFILE=pmlog
PATH=/bin:/usr/bin:/usr/local/bin:/usr/home/netalyst/bin:/usr/home/netalyst/usr/b
in:/usr/home/netalyst/usr/local/bin
PYTHONPATH=/usr/home/netalyst/usr/local/lib/python2.2
:0fw:hamlock
| /usr/local/bin/python2.2 /usr/home/netalyst/usr/local/bin/sb_filter.py -d .hammie.db
.. etc.
More information about the Spambayes
mailing list