I had the same problem after installing  5.8.0 but luckily for me Brian 
McNett got nailed by this before me and figured out a solution.

Brian also mentions the fact he looked in perldelta  (perldoc 
perldelta), and to be honest it woud never have occurred to me to look 
for answers there if I hadn't read it in his posting, perldeta mentions 
this problem twice:


perldelta: Known Problems
>
> Perl_get_sv
>
> You may get errors like 'Undefined symbol "Perl_get_sv"' or "can't 
> resolve symbol 'Perl_get_sv'", or the symbol may be "Perl_sv_2pv".  
> This probably means that you are trying to use an older shared Perl 
> library (or extensions linked with such) with Perl 5.8.0 executable.  
> Perl used to have such a subroutine, but that is no more the case.  
> Check your shared library path, and any shared Perl libraries in those 
> directories.
>
> Sometimes this problem may also indicate a partial Perl 5.8.0 
> installation, see "Mac OS X dyld undefined symbols" for an example and 
> how to deal with it.
>

perldelta:Platform specific problems
> OSX
>
>
> If after installing Perl 5.8.0 you are getting warnings about missing 
> symbols, for example
>
>            dyld: perl Undefined symbols
>            _perl_sv_2pv
>            _perl_get_sv
>
> you probably have an old pre-Perl-5.8.0 installation (or parts of one) 
> in /Library/Perl (the undefined symbols used to exist in pre-5.8.0 
> Perls).  It seems that for some reason "make install" doesn't always 
> completely overwrite the files in /Library/Perl.  You can move the old 
> Perl shared library out of the way like this:
>
>    cd /Library/Perl/darwin/CORE
>    mv libperl.dylib libperlold.dylib
>
> and then reissue "make install".  Note that the above of course is 
> extremely disruptive for anything using the /usr/local/bin/perl.  If 
> that doesn't help, you may have to try removing all the .bundle files 
> from beneath /Library/Perl, and again "make install"-ing.


I had the second scenario (ie bundles) and so did Brian McNett

On Wednesday, September 25, 2002, at 07:46 AM, Brian McNett wrote:

% find . -name "*.bundle" | xargs sudo rm -f
% cd ../../usr/local/src
% sudo make install

then test it:

% perl -MCPAN -e shell

cpan shell -- CPAN exploration and modules installation (v1.61)
ReadLine support enabled

cpan>


>> On Thursday, October 3, 2002, at 10:09 PM, Thomas von Eyben wrote:
>>
>> I have just fallen into the same trap (I think). I installed Perl 
>> 5.8.0 on a Mac OS X 10.2.1 Server(!) fo


HTH Robin

Reply via email to