App-perlbrew
App-perlbrew copied to clipboard
Latest perlbrew won't install perls on Linux
Any attempt to install fails with this error message:
Can't load 'lib/auto/Cwd/Cwd.o' for module Cwd: lib/auto/Cwd/Cwd.o: only ET_DYN and ET_EXEC can be loaded at lib/XSLoader.pm line 94.
I'm not using strange CFLAGS or anything, just running:
perlbrew install perl-5.40.2
Does $(head -n1 "$(which perlbrew)" | tail -c +3) -e 'use Cwd' run without errors?
(That is, find the perlbrew script, extract the first line (usually something like #!/usr/bin/perl), skip the first two characters (i.e. #!), run the rest of the line as a command (assumed to be a path to a perl), and see whether it can load Cwd.)