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 executable does not work #64

Closed
sitiom opened this issue Jan 27, 2023 · 5 comments
Closed

Symlinked executable does not work #64

sitiom opened this issue Jan 27, 2023 · 5 comments

Comments

@sitiom
Copy link
Contributor

sitiom commented Jan 27, 2023

Hi, I am trying to add ntfs2btrfs to Winget: microsoft/winget-pkgs#94782. The manifest successfully installs, but the symlinked executable (ntfs2btrfs.exe) silently fails without any output:
image

However, calling the executable directly works:
image

Can you fix it so that the symlinked executable will try to resolve the dependencies on the actual executable directory? Thanks.

@maharmstone
Copy link
Owner

I'm linking to the DLLs normally, I'm not doing anything weird.

I don't know anything about winget, but I can't imagine that it doesn't handle DLLs. I think you either need to fix your YAML file, or add a dependency on zlib and lzo, assuming they're also winget packages.

@sitiom
Copy link
Contributor Author

sitiom commented Jan 28, 2023

but I can't imagine that it doesn't handle DLLs.

Indeed, it doesn't 😅

@maharmstone
Copy link
Owner

That's pretty poor!

@sitiom
Copy link
Contributor Author

sitiom commented Jan 28, 2023

Yes, it seems like I can only add static portable builds to Winget in the meantime:

@sitiom
Copy link
Contributor Author

sitiom commented Dec 4, 2024

Update: As of today, winget now handles DLLs as of https://github.com/microsoft/winget-cli/releases/tag/v1.9.25180 🎉. I have created a new PR on winget-pkgs:

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

2 participants