Mark Martinec wrote:

> Walter Hurry wrote:
>> I'm trying to get started with SpamAssassin on FreeBSD 9.2.
>> This is SpamAssassin 3.3.2, as that's the version in the FreeBSD ports.
>> 
>> SpamAssassin is installed with all its dependencies, but when I run 
>> sa-update (as root),
>> I get the following output:
>> 
>> Can't load 
>> '/usr/local/lib/perl5/site_perl/5.16/mach/auto/HTML/Parser/Parser.so'
>>   for module HTML::Parser: 
>> /usr/local/lib/perl5/site_perl/5.16/mach/auto/HTML/Parser/Parser.so:
>>   Undefined symbol "PL_thr_key" at 
>> /usr/local/lib/perl5/5.16/XSLoader.pm line 68.
>>     at /usr/local/lib/perl5/site_perl/5.16/mach/HTML/Parser.pm line 17.
>
>
> /usr/ports/UPDATING
>
> 20131120:
>    AFFECTS: users of lang/perl5.12 lang/perl5.14 lang/perl5.16 and 
> lang/perl5.18
>    AUTHOR: m...@freebsd.org
>
>    The THREADS option has been enabled by default in all Perl. If you're 
> using
>    binary packages you need to do :
>
>      # pkg install -Rf perl5
>
>    If you're not using binary packages, and want to switch from non 
> threaded
>    Perl to threaded Perl, you need to recompile and reinstall most ports
>    depending on Perl. Supposing you have Perl 5.16, you would do:
>
Thanks, Mark!

Swiched to threaded perl per the instructions and now all is well.

Reply via email to