sa-compile 'referenced symbol not found' errors

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

# spamassassin --lint /usr/local/bin/spamassassin: fatal: relocation error: file
CompiledRegexps/body_0/ symbol
Mail_SpamAssassin_CompiledRegexps_body_0_scan17: referenced symbol not found

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