Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

perlbrew migrate modules to new perl install, on Mac OS X

by abualiga (Scribe)
on Mar 17, 2013 at 21:16 UTC ( [id://1023940]=perlquestion: print w/replies, xml ) Need Help??

abualiga has asked for the wisdom of the Perl Monks concerning the following question:

Hi there,

I installed perl 5.16.0, threaded, on Mac OS X 10.7.5, using perlbrew. Now, when I try to transfer modules to the new install, it fails with a message that I don't understand. Below are commands I used and output. Your insight is greatly appreciated. Many thanks!

ps- if this is not the place for perlbrew questions, please redirect me.

$ perlbrew install --as perl-5.16.0t -Dusethreads perl-5.16.0
$ perl -v This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-th +read-multi-2level (with 2 registered patches, see perl -V for more detail) --truncated remaining output--
$ perlbrew list-modules | perlbrew exec --with perl-5.16.0t cpanm perl-5.16.0t ========== dyld: lazy symbol binding failed: Symbol not found: _Perl_Gthr_key_ptr Referenced from: /Users/abualiga/perl5/lib/perl5/darwin-thread-multi +-2level/auto/Cwd/Cwd.bundle Expected in: flat namespace dyld: Symbol not found: _Perl_Gthr_key_ptr Referenced from: /Users/abualiga/perl5/lib/perl5/darwin-thread-multi +-2level/auto/Cwd/Cwd.bundle Expected in: flat namespace

Replies are listed 'Best First'.
Re: perlbrew migrate modules to new perl install, on Mac OS X
by kcott (Archbishop) on Mar 17, 2013 at 23:58 UTC

      Thanks for the reply Ken! These are the commands I used:

      perldoc -t perllocal | perl -lane'/"Module"/ && print $F[-1]' | sort - +u >/tmp/pms perlbrew switch perl-5.16.0t cpanm -v </tmp/pms &>>/tmp/inst.log & tail -f /tmp/inst.log

      And after a lot of STDOUT, I tried the following commands and got this output:

      $ perl -e 1 -MFile::Find dyld: lazy symbol binding failed: Symbol not found: _Perl_Istack_sp_pt +r Referenced from: /Users/abualiga/perl5/lib/perl5/darwin-thread-multi +-2level/auto/Cwd/Cwd.bundle Expected in: flat namespace dyld: Symbol not found: _Perl_Istack_sp_ptr Referenced from: /Users/abualiga/perl5/lib/perl5/darwin-thread-multi +-2level/auto/Cwd/Cwd.bundle Expected in: flat namespace Trace/BPT trap: 5 $perldoc File::Find dyld: lazy symbol binding failed: Symbol not found: _Perl_Istack_sp_pt +r Referenced from: /Users/abualiga/perl5/lib/perl5/darwin-thread-multi +-2level/auto/Cwd/Cwd.bundle Expected in: flat namespace dyld: Symbol not found: _Perl_Istack_sp_ptr Referenced from: /Users/abualiga/perl5/lib/perl5/darwin-thread-multi +-2level/auto/Cwd/Cwd.bundle Expected in: flat namespace Trace/BPT trap: 5

      Any suggestions on how to proceed? Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1023940]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-24 07:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found