Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Problem Installing Perl-Tk on macOS Monterey (12.6) with Apple M1 chip

by cmv (Chaplain)
on Oct 05, 2022 at 14:47 UTC ( [id://11147261]=note: print w/replies, xml ) Need Help??


in reply to Re: Problem Installing Perl-Tk on macOS Monterey (12.6) with Apple M1 chip
in thread Problem Installing Perl-Tk on macOS Monterey (12.6) with Apple M1 chip

In the original post, you can see that I call the correct cpan using the perlbrew cpan full path name, which was built using the perlbrew perl, so I expected that all to work correctly.

However, running which perl; which cpan from my command line shows me the system commands being found first. I will try fixing this so that perlbrew commands are in my environment first and see if that helps.

Also, checking where the modules were installed shows the following:

/opt/homebrew/Cellar/perl/5.36.0/bin/perl -e 'print "@INC"' /opt/homebrew/opt/perl/lib/perl5/site_perl/5.36/darwin-thread-multi-2l +evel /opt/homebrew/opt/perl/lib/perl5/site_perl/5.36 /opt/homebrew/op +t/perl/lib/perl5/5.36/darwin-thread-multi-2level /opt/homebrew/opt/pe +rl/lib/perl5/5.36 /opt/homebrew/lib/perl5/site_perl/5.36/darwin-threa +d-multi-2level /opt/homebrew/lib/perl5/site_perl/5.36

There are no environment variables in my shell for LD_LIBRARY_PATH or DYLD_LIBRARY_PATH but maybe cpan adds them somehow?

I will try using strace and see if the output indicates if the old system tcl-tk libraries are being used and post the results here.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11147261]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-19 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found