Comments (12)
When I run Strawberry Perl, the following extra directories are included in my PATH:
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0;
C:\Windows\System32\OpenSSH;
C:\Users\Owner\AppData\Local\Microsoft\WindowsApps
Maybe try adding them (or equivalent) to your path and see if that locates the missing dll.
The usual way of opening up a shell with the correct path automatically set for you is to just double-click on portableshell.bat
which you'll find in your C:\Perl
directory.
from perl-dist-strawberry.
Do other core dynamic modules load,eg:
perl -MDevel::Peek -e0
Does Win32 load outside of cpanm:
perl -MWin32 -e0
from perl-dist-strawberry.
No error when loading Devel::Peek. Same error when loading Win32 directly.
from perl-dist-strawberry.
I should add that the same error occurs when trying to load Win32 from the portableshell.
from perl-dist-strawberry.
What do perl -MV=Win32
and perl -MV=Devel::Peek
show? (You'll probably have to install V
first)
from perl-dist-strawberry.
c:\perl>perl -MV=Win32
Win32
C:\perl\perl\lib\Win32.pm: 0.59
c:\perl>perl -MV=Devel::Peek
Devel::Peek
C:\perl\perl\lib\Devel\Peek.pm: 1.33
from perl-dist-strawberry.
Thank you. Sorry for the multiple questions! If I knew enough to have an immediate solution, I'd go straight to that. Does the @INC
part of perl -V
look like this?
@INC:
C:/perl/perl/site/lib/MSWin32-x64-multi-thread
C:/perl/perl/site/lib
C:/perl/perl/vendor/lib
C:/perl/perl/lib
I have C:\perl\perl\lib\auto\Win32\Win32.xs.dll
, do you? Also, I'm using 5.32.1.1, do you get the same problem with other versions of Strawberry? Have you tried the very latest?
from perl-dist-strawberry.
I should add that the same error occurs when trying to load Win32 from the portableshell.
This makes me wonder if you've had a bad download, or a bad unpacking of the Strawberry Perl zip.
Does the SHA256 digest of your downloaded strawberry-perl-5.38.2.2-64bit-portable.zip match that shown at https://strawberryperl.com/releases.html (ea451686065d6338d7e4d4a04c9af49f17951d15aa4c2e19ab8cb56fa2373440
) ?
What tool did you use to unpack it ? (I use 7z .)
Going back quite a few years, it was not uncommon for some unzip tools to botch the unpacking - depending upon how they were configured. (Winzip was one such tool - but I don't know if that tool even exists any more.)
If the unpacking of the zip package issued warnings/errors, then your Strawberry Perl installation is probably broken.
from perl-dist-strawberry.
c:\perl>perl -e "print \"@INC\""
c:/perl/perl/site/lib
c:/perl/perl/vendor/lib
c:/perl/perl/lib
I can confirm that that DLL exists. I'll try a different version.
from perl-dist-strawberry.
strawberry-perl-5.32.1.1-64bit-portable works OK (has 64-bit and 32-bit editions)
strawberry-perl-5.36.3.1-64bit-portable fails as in my first post (only has 64-bit edition)
strawberry-perl-5.38.2.2-64bit-portable fails as in my first post (only has 64-bit edition)
Some maybe something happened in the change to 64-bit only that broke it?
The value of @inc doesn't change no matter which version; it only has the three entries shown in my previous comment.
I have validated the SHA sums of all the downloads. I have extracted them multiple times using the unzip functionality built into Windows 11.
from perl-dist-strawberry.
Just a guess since I don't have Win11, is there some dll files which win11 doesn't have but old wins has? try install vc_redist to see if it help.
from perl-dist-strawberry.
you could also try using https://learn.microsoft.com/en-us/sysinternals/downloads/procmon to watch what the perl process is trying to access
from perl-dist-strawberry.
Related Issues (20)
- SP 5.38.2 fails on GitHub Actions at pl2bat HOT 11
- OpenSSL and Zlib are outdated - PoC provided for OpenSSL 3.1.5 + ZLib 1.3.1 HOT 1
- virus detected in the cc1plus.exe file HOT 4
- Perl 5.38.2.2 for 32bit? HOT 22
- Strawberry Perl vulnerability in v5.32.x.x corrected? HOT 1
- UpgradeCpanModules step is failing since commit d714298 HOT 9
- POSIX bessel functions are broken on strawberry-perl 5.39.10.1. HOT 14
- libgd has no truetype support in 5.38 HOT 2
- perl 5.40 cpan | Win32::Console::ANSI failing HOT 10
- perl 5.40 cpan | GD fails tests HOT 4
- perl 5.40 cpan | PDL::Stats fails to build HOT 3
- Malware detected : Win64:MalwareX-get [Trj] HOT 6
- Error checking in portableshell.bat is wrong HOT 4
- Problem on startup of 5.40.0.1-PDL build HOT 10
- `5.40.0.1`: Why duplicated assets in the Releases? HOT 7
- Release tag naming scheme
- release notes: build for PDL editions
- Perl 5.38.2.1-32bit does not find _mkgmtime32 HOT 9
- Is There a false positive? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from perl-dist-strawberry.