tokuhirom / plenv

Perl binary manager
Other
516 stars 71 forks source link

plenv install fails with any perl version on MSYS2 #152

Closed sla-te closed 6 years ago

sla-te commented 6 years ago

Using this in MSYS2 on Windows 10 Prof inside zsh shell fails while installing with the following error upon executing 'plenv install 5.28.0'

C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ldl
C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lutil
C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lc
collect2.exe: error: ld returned 1 exit status
I can't compile the test program.
(The supplied flags or libraries might be incorrect.)
You have a BIG problem.  Shall I abort Configure [y]
Ok.  Stopping Configure.

Also before anything works one needs to install Mozilla::CA via cpan install. Then I have already set 'git config --global core.symlinks true' as windows doesnt autodetect this correctly.

eddypapa commented 6 years ago

Did you find a solution?

hurricup commented 6 years ago

@eddypapa consider using berrybrew for windows