After upgrading Perl, cannot reinstall modules - Undefined symbol "perl_get_sv

David Landgren david at
Wed Nov 30 13:56:32 GMT 2005

Mark Kane wrote:
> Hi everyone. I finally did a big portupgrade on a 4.9-RELEASE system
> today and I'm having some problems with Perl.
> I got it updated to 5.8.7 (was 5.6.x before), ran "use.perl port", and
> ran the perl-after-upgrade script which were all said in UPDATING. Now
> it's time to force upgrade/recompile the Perl modules for the new version.
> Unfortunately this is where I get stuck:
> xeon1# portupgrade -f p5-\*
> [snip]
> ===>   p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found
> ===>   p5-HTML-Tagset-3.10 depends on file: /usr/local/bin/perl5.8.7 - found
> ===>  Configuring for p5-HTML-Tagset-3.10
> /usr/libexec/
> /usr/local/lib/perl5/5.8.7/mach/auto/Cwd/ Undefined symbol
> "perl_get_sv"
> *** Error code 1
> ------------------------------------

On the odd chance that you haven't resolved this problem...

Cwd is part of the PathTools perl package.

Try forcing the reinstallation of ports/devel/p5-PathTools first and see 
if that gets things back in sync.

"It's overkill of course, but you can never have too much overkill."

More information about the freebsd-questions mailing list