-
Notifications
You must be signed in to change notification settings - Fork 4
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
Copydeps cannot resolve any dll #12
Comments
This is caused by the fact that library lookup paths are currently hard-coded in the executable, and different distros store the files in different paths. The program would need to get the library path from the system somehow. Issue #8 suggests consulting |
Hm, so looking at how It must be noted, though, that this could only be used for ELF executables; a different mechanism would be needed to figure out where MinGW libraries used for linking |
Ugh. Seems I was quite distracted yesterday. I glanced over your comment, saw "Debian" and didn't really notice the fact that you're trying to copy So, MinGW. Like I said earlier, library lookup paths are currently hard-coded. When looking for dependencies for 64-bit vec!["/usr/x86_64-w64-mingw32/sys-root/mingw/bin/"] Extending this and adding |
As reported by one user, Debian places its MinGW libraries in slightly different locations than Fedora. This caused the program to be unable to locate the .dll files. See: #12
Yes, the title is the same as #11, but there the reply was "The simple truth is I've written this to be a Linux tool and never gave running under Windows any thought."
I'm seeing what looks like the same problem on Debian GNU/Linux. E.g. (small example, so there is only one DLL that should be found, but I see the same "failed to resolve" with other programs that need more DLLs):
The text was updated successfully, but these errors were encountered: