On 02-05-12 21:23, Jeff Ross wrote:
> Hi all,
> 
> Using OpenBSD 5.1 and the postgresql driver, dspam is no longer able to 
> process non-english e-mails, failing with
> 
> /usr/local/bin/dspam:/usr/local/lib/libdspam.so.7.0: undefined symbol 
> 'libiconv_open'
> lazy binding failed!
> procmail: Program failure (-11) of "/usr/local/bin/dspam"
> procmail: Rescue of unfiltered data succeeded
> + exit
> 
> It has been working, though.
> 

There was a patch that used iconv in git master for a while, but it has
been removed recently. Please use git pull if you want to use git (not
recommended).

> Additionally, I tried building dspam-3.10.2 and get a similar error:
> 
> /usr/local/src/dspam-3.10.2/src/dspam.c:3382: warning: sprintf() is 
> often misused, please use snprintf()
> /usr/local/lib//libdspam.so.7.0: undefined reference to `libiconv_open'
> /usr/local/lib//libdspam.so.7.0: undefined reference to `libiconv_close'
> /usr/local/lib//libdspam.so.7.0: undefined reference to `libiconv'
> collect2: ld returned 1 exit status

This looks like dspam 3.10.2 linking against the lidspam.so from git.
Please remove all installed binaries, then recompile dspam 3.10.2

> 
> I do have a libiconv installed on my server, though, in /usr/local/lib/

iconv should not be needed if you use a current git master checkout, or
a release tarball.

--
Tom

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to