Perl: load_file:Invalid access to memory location on Windows Server 2020/2022
Yuki Kimoto
Posted on December 15, 2022
I got this error on Windows Server 2020/2022 to load DLLs that is generated by ExtUtils::CBuilder.
Can't load dynamic_lib file "D:\a\SPVM\SPVM\SPVM-0.9665\blib\lib/SPVM/Format__precompile.xs.dll": load_file:Invalid access to memory location at D:\a\SPVM\SPVM\SPVM-0.9665\blib\lib/SPVM/Builder.pm line 262.
This is fixed in the latest ExtUtils::CBuilder.
Revision history for Perl extension ExtUtils::CBuilder.
0.280236 - 2021-02-12
Fix:
- Remove image-base generation on Win32/gcc and instead use GCC's built-in
`--enable-auto-image-base` linker option.
For Programming Beginners
ExtUtils::CBuilder is a Perl module to generate shared libraries on Linux/Mac or Dynamic link libraries on Windows.
This is a wrapper of C or C or C.
They are compilers and linkers to compile C/C++ source codes and link them to output an executable file or a shared library.
💖 💪 🙅 🚩
Yuki Kimoto
Posted on December 15, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
perl Perl: load_file:Invalid access to memory location on Windows Server 2020/2022
December 15, 2022