Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: Failure to cpanm PP on portable Strawberry Perl 24

by syphilis (Bishop)
on Jul 24, 2017 at 00:23 UTC ( #1195852=note: print w/replies, xml ) Need Help??

in reply to Failure to cpanm PP on portable Strawberry Perl 24
in thread Tk::TableMatrix won't build on Strawberry 5.26.0

The procedure entry point _ZdlPvy could not be located in the dynamic link library C:\Strawberry\perl\bin\perl526.dll

This is indicates that an attempt to load perl526.dll is being made. But that's the wrong dll - perl5.24.x needs to load perl524.dll.
This can be addressed by ensuring that the location of perl-5.24 appears before the location of perl-5.26 in the path.
But you'll also want to ensure that the correct compiler is being used. For strawberry 5.24 gcc --version should indicate version 4.9.2, while for strawberry 5.26, gcc --version should indicate version 7.1.0.
If this is not the case it, too, can be fixed by fiddling with the PATH.

It's actually fairly easy to use different versions of Strawberry Perl on the one machine. You just make sure that you install only the 'portable' builds, and that you start the perl of your choice by double-clicking on 'portableshell.bat' (which is in the top level Strawberry Perl directory).

Incidentally, cpanm is a batch file (.bat) not a .exe.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2019-08-22 00:12 GMT
Find Nodes?
    Voting Booth?

    No recent polls found