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.
In reply to Re^2: Problem Installing Perl-Tk on macOS Monterey (12.6) with Apple M1 chip
by cmv
in thread Problem Installing Perl-Tk on macOS Monterey (12.6) with Apple M1 chip
by cmv
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |