Rebuilding perl with threads
toomas.aas at raad.tartu.ee
Wed Dec 1 22:08:16 UTC 2010
Previously, I wrote
> I'm in a process of installing a new server. I have already built
> and installed a lot of ports over the past weeks, and now that I'm
> almost done I discovered that one of the last things I need to
> install (misc/amanda-server) needs Perl installed with threads
> support, whereas I have it installed without threads.
> For this kind of change, is it safe to reinstall just the Perl port,
> or do I also need to rebuild all ports that depend on Perl? That
> would be a *lot* of rebuilding. The version I currently have
> installed is perl-5.12.2_2, lang/perl5.12 seems to currently be at
I can now report that there will be problems if you rebuild just the
perl port. I used portmaster to perform this task. Then I discovered
that (at least some of the) libraries built against non-threaded Perl
refuse to be loaded with threaded Perl. A rather typical error message
you'll see is 'Undefined symbol"PL_sv_undef"'.
In order to get amavisd-new running again, I rebuilt the following
ports using portmaster:
I now have amavisd-new running again, but it is possible that I'll
discover more (non-amavisd-related) ports that need rebuilding.
More information about the freebsd-questions