Description of problem: When running any C# application with Wine I get the following error. 0218:err:module:import_dll Library iconv.dll (which is needed by L"Z:\\usr\\share\\wine\\mono\\wine-mono-7.4.0\\bin\\libmono-2.0-x86_64.dll") not found 0218:err:mscoree:load_mono Could not load Mono into this process Version-Release number of selected component (if applicable): wine-mono-7.4.0-1.fc37.noarch How reproducible: Always Steps to Reproduce: 1. Download any C# application, such as run-tests.exe from https://dl.winehq.org/wine/wine-mono/7.4.0/wine-mono-7.4.0-tests.zip. 2. Extract the archive 3. Run wine run-tests.exe Actual results: 0218:err:module:import_dll Library iconv.dll (which is needed by L"Z:\\usr\\share\\wine\\mono\\wine-mono-7.4.0\\bin\\libmono-2.0-x86_64.dll") not found 0218:err:mscoree:load_mono Could not load Mono into this process Expected results: Application should run. Additional info: Installed wine using wine meta package.
*** This bug has been marked as a duplicate of bug 2174631 ***
This issue is caused by Wine not finding MinGW libraries, which are needed for the system wine-mono to work (i.e. not a Mono installed into a Wine prefix). You need add the directory containing the needed .dll libraries to the WINEPATH environment variable: $ env "WINEPATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin" wine yourprogram.exe This will prepend the directory to the PATH variable inside Wine. You could add WINEPATH to your shell startup scripts, or, alternatively, Fedora's version of Wine could be patched to look in the correct directories automatically.