Skip to content
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

The msys-2.0.dll that the package depends on cannot be loaded correctly. #3947

Closed
lonnywong opened this issue Dec 4, 2023 · 4 comments
Closed
Labels
Resolution-Duplicate Issue is a duplicate
Milestone

Comments

@lonnywong
Copy link

Brief description of your issue

The msys-2.0.dll that the package depends on cannot be loaded correctly.

There are rz.exe and sz.exe in C:\Users\x\AppData\Local\Microsoft\WinGet\Links\.

There are rz.exe, sz.exe and msys-2.0.dll in C:\Users\x\AppData\Local\Microsoft\WinGet\Packages\trzsz.lrzsz__DefaultSource\lrzsz_0.12.21rc_windows_x86_64\.

The rz and sz command only works in C:\Users\x\AppData\Local\Microsoft\WinGet\Packages\trzsz.lrzsz__DefaultSource\lrzsz_0.12.21rc_windows_x86_64\.

It will fail when running in other directory.

Steps to reproduce

  1. winget install -m . for trzsz.lrzsz winget-pkgs#129171
  2. Run rz -h and sz -h command.

Expected behavior

Run rz -h should output the help message:

rz version 0.12.21rc
Usage: rz [options] [filename.if.xmodem]
...

Actual behavior

No output. Maybe the msys-2.0.dll cannot be loaded.

Environment

Windows Package Manager v1.6.3133
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2715
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3133.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Dec 4, 2023
@lonnywong
Copy link
Author

BTW, it works with chocolatey: https://community.chocolatey.org/packages/lrzsz.

choco install lrzsz --version=0.12.21

@Trenly
Copy link
Contributor

Trenly commented Dec 4, 2023

@denelon
Copy link
Contributor

denelon commented Dec 4, 2023

Duplicate of #2711

@denelon denelon marked this as a duplicate of #2711 Dec 4, 2023
Copy link
Contributor

Hello @lonnywong,

We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!

Template: msftbot/duplicate/closed

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate Issue is a duplicate and removed Needs-Triage Issue need to be triaged labels Dec 4, 2023
@denelon denelon added this to the 1.8 Client milestone May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Issue is a duplicate
Projects
None yet
Development

No branches or pull requests

3 participants