https://bugs.winehq.org/show_bug.cgi?id=44320
Bug ID: 44320 Summary: Can't locate dll from windows system directory (err:module:import_dll) Product: Wine Version: 3.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: bghome@gmail.com Distribution: ---
Created attachment 60173 --> https://bugs.winehq.org/attachment.cgi?id=60173 WINEARCH=win64 WINEPREFIX=~/.wine wine ~/.wine/drive_c/Program\ Files/Native\ Instruments/Traktor\ 2/Traktor.exe
# The problem
I installed a program (Traktor Pro 2) onto a new fresh 64 bit wineprefix like this: WINEARCH=win64 WINEPREFIX=~/.wine wine ~/Downloads/Traktor\ 2\ 2.11.2\ Setup\ PC.exe
This software also installed Microsoft Visual C++ 2017 Redistributable package which provides msvcp140.dll, see below. find ~/.wine -type f -name 'msvcp140.dll' /home/geza/.wine/drive_c/windows/system32/msvcp140.dll /home/geza/.wine/drive_c/windows/syswow64/msvcp140.dll
Now I added a library override for msvcp140.dll by winecfg to use the native dll.
Finally I started the installed program like this: WINEARCH=win64 WINEPREFIX=~/.wine wine ~/.wine/drive_c/Program\ Files/Native\ Instruments/Traktor\ 2/Traktor.exe
# Actual result
I get an error saying msvcp140.dll not found. See attached console output for details.
# Expected result
I expect wine to be able to load dlls from Windows system directory.