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

Symlinked executables have missing dependencies #2889

Closed
sitiom opened this issue Jan 28, 2023 · 1 comment
Closed

Symlinked executables have missing dependencies #2889

sitiom opened this issue Jan 28, 2023 · 1 comment
Milestone

Comments

@sitiom
Copy link

sitiom commented Jan 28, 2023

Brief description of your issue

Since not all executables are statically built, symlinked executables often have missing dependencies with DLLs. Example:

This means dynamically linked executables won't work properly in Winget. There should be a way for Winget to handle this.

#361 (comment)

If an app depends on some .dll file within its directory, symbolic links do not work. Also, symbolic links require admin permission.

Possible solution: Use shims, like Scoop or Chocolatey.

Steps to reproduce

  1. Checkout New package: Google.Android.SDKPlatformTools version 33.0.3 winget-pkgs#94818
  2. Install Google.Android.SDKPlatformTools
  3. Calling adb from the command line silently errors out with no output but calling the direct target executable works.

Expected behavior

Winget should somehow handle dependencies from symlinks.

Actual behavior

Executable does not work correctly due to missing DLLs.

Environment

Windows Package Manager v1.4.10173

Windows: Windows.Desktop v10.0.22621.1105
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0
@Trenly
Copy link
Contributor

Trenly commented Jan 28, 2023

Seems like this is a duplicate of #2711

@sitiom sitiom closed this as completed Jan 28, 2023
@ghost ghost removed the Needs-Triage Issue need to be triaged label Jan 28, 2023
@denelon denelon added this to the v1.5-Client milestone Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants