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.

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

I do have a libiconv installed on my server, though, in /usr/local/lib/
jross@varley:/usr/local/src/dspam-3.10.2/src $ ls -al 
/usr/local/lib/libiconv.*
-rw-r--r--  1 root  wheel  1057914 Apr 23 15:27 /usr/local/lib/libiconv.a
-rw-r--r--  1 root  wheel      720 Apr 23 15:27 /usr/local/lib/libiconv.la
-rwxr-xr-x  1 root  wheel  1060676 Apr 23 15:27 
/usr/local/lib/libiconv.so.6.0

I'm building dspam with the following configuration options:
./configure \
         --libdir=/usr/local/lib/ \
         --with-storage-driver=pgsql_drv \
         --with-pgsql-includes=/usr/local/include/postgresql/ \
         --with-pgsql-libraries=/usr/local/lib/ \
         --enable-preferences-extension \
         --with-dspam-home=/var/dspam \
         --with-dspam-home-owner=_dspam \
         --with-dspam-home-group=_dspam \
         --with-dspam-home-mode=0755 \
         --with-dspam-owner=root \
         --with-dspam-group=bin \
         --with-dspam-mode=0555 \
         --enable-long-usernames \
         --sysconfdir=/etc/

Any ideas?

Thanks,

Jeff Ross

------------------------------------------------------------------------------
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