https://bugs.winehq.org/show_bug.cgi?id=51088
Bug ID: 51088 Summary: Wine doesn't find (builtin?) wineasio.dll.so Product: Wine Version: 6.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: michaelwigard@arcor.de Distribution: ---
WineASIO provides an ASIO to JACK driver for WINE. (https://github.com/wineasio/wineasio)
Since this commit: https://source.winehq.org/git/wine.git/commit/bb065801a693e1cd305d2a507c206f...
(ntdll: Map the builtin or fake dll from the Wine dirs if it's missing from the prefix.)
Wine doesn't seem to find wineasio.dll.so any more:
$ wine regsvr32 wineasio.dll regsvr32: Failed to load DLL 'wineasio.dll'
Before that commit, load_builtin_dll would eventually be called and load wineasio.dll.so. After that commit, it seems find_builtin_without_file is called, but doesn't load it.
With this workaround it works again: $ cp /usr/lib/wine/wineasio.dll.so ~/.wine/drive_c/windows/system/wineasio.dll
I'm not too familiar with the internals of Wine, but I suspect it might have something to do with the absence of a fake dll. I was able to get it to work by copying and renaming one of the other fake dlls to wineasio.dll, but only when also setting WINEDLLPATH.
It seems to me that this should be a bug in Wine, since it worked the way it was before and doesn't since that commit, but if the solution is something else, please let me know.
https://bugs.winehq.org/show_bug.cgi?id=51088
Michael W. michaelwigard@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |bb065801a693e1cd305d2a507c2 | |06f1b21a142d3
https://bugs.winehq.org/show_bug.cgi?id=51088
Térence Clastres t.clastres@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |t.clastres@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=51088
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- Yes, it is now required to have a fake dll, so that we can have a file in PE format to return to the app when it asks for it.
https://bugs.winehq.org/show_bug.cgi?id=51088
--- Comment #2 from Michael W. michaelwigard@arcor.de --- (In reply to Alexandre Julliard from comment #1)
Yes, it is now required to have a fake dll, so that we can have a file in PE format to return to the app when it asks for it.
Thanks for the swift reply! I will pass this information along to the WineASIO devs. Is there any documentation that I could point them at that explains how these should be built and where they should be placed? My naive attempts at copying one of the existing fake dlls were unsuccessful (couldn't get it to work without also setting WINEDLLPATH). In the meantime, would it be possible for Wine to emit a warning and find the dll.so in the absence of a fake dll? As it stands, WineASIO (and possibly other projects that I don't know of) is just broken, while the workaround shows that it could work fine without the fake dll.
https://bugs.winehq.org/show_bug.cgi?id=51088
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tavasti@tavasti.fi
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- *** Bug 51760 has been marked as a duplicate of this bug. ***