sa-compile 'referenced symbol not found' errors

after running sa-compile and uncommenting the Rule2XSBody plugin, I got the following error:

# spamassassin --lint
ld.so.1: /usr/local/bin/spamassassin: fatal: relocation error: file
/var/lib/spamassassin/compiled/3.002000/auto/Mail/SpamAssassin/
CompiledRegexps/body_0/body_0.so: symbol
Mail_SpamAssassin_CompiledRegexps_body_0_scan17: referenced symbol not found
Killed

This is most likely bug 5435, which is caused by bug 1708378 in re2c.

The fix is to upgrade re2c to version 0.12.0 or later.

  • No labels