Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Failure to cpanm PP on portable Strawberry Perl 24

by syphilis (Archbishop)
on Jul 24, 2017 at 00:23 UTC ( [id://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.

Cheers,
Rob

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-19 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found