-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perl.exe: MSVCR120.dll: cannot open shared object file: No such file or directory #970
Comments
Not sure, but maybe this would help? (Reinstall Microsoft Visual C++ 2013 Redistributable package) Download from here |
@DavidLibault Thanks for submitting the issue! Maybe the build of Perl was interrupted in the middle, and now it is skipping to rebuild it because it is already installed. Have you tried rebuilding things with the |
I did :
and got :
The 'AnyDBM_File.pm' has the following access permissions :
So I understand gvsbuild is trying to open AnyDBM_File.pm with write permissions although the file has been installed with read only permissions... Having installed perl modules with read only permissions looks right to me, what would gvsbuild want to modify a perl module for ? |
@DavidLibault have you tried removing the C:\gtk-build\tools directory entirely prior to building? Gvsbuild is trying to extract the tar ball, and for some reason it can't do so. |
@danyeaw : yes, deleting the perl directory in C:\gtk-build\tools did allow perl to install. Thanks. Maybe the --from-scratch option should also clean the tools directory... But perl was still not working. When launching perl from the command line (Windows PowerShell), the executable silently failed to run. But when gvsbuild tried to launch perl it was giving the MSVCR120.dll missing error (see my first post). @tjwilli58 : you were right, installing the "Microsoft Visual C++ 2013 Redistributable package" fixes the problem. As I am not using Visual C++ 2013 (outdated), the dll was not on my build system. I don't know how this issue should be properly addressed... Probably by building perl from sources instead of doing the (uncomplete) binary install... |
@DavidLibault Our Perl install is using Strawberry Perl for Windows which is the standard way to install Perl. A few options:
|
Installing Visual Studio 2013 Redestributable fixes the original issue. https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2013-vc-120--no-longer-supported We could temporarily add this to the README and then work on getting a newer version of Perl supported. |
Hi all,
I installed gvsbuild on a fresh windows 11 Pro (version 22H2) following the gvsbuild readme.
GTK4 built, (although I don't understand why gtk4-demo.exe did not build automatically...).
To have gstreamer on the system, I did :
but the gst-plugins-good build fails as libvpx refuses to build :
perl was built by gvsbuild, and the executable is located at :
For information, launching a gvsbuild build of perl gives :
but when I try it with :
The command returns without printing anything on the console (perl --help doesn't return anything either). So it looks like the perl package install on gvsbuild silently failed.
The text was updated successfully, but these errors were encountered: