0134:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary

Questions about Wine on Linux
Locked
35b9QPb
Newbie
Newbie
Posts: 2
Joined: Tue Aug 08, 2023 2:42 am

0134:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary

Post by 35b9QPb »

Hello everybody

My issue :

Code: Select all

wine "/home/jean/.wine/drive_c/Program Files (x86)/Garmin/Express/express.exe"
0134:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"express.exe" cannot be loaded
0134:err:module:LdrInitializeThunk Importing dlls for L"C:\\Program Files (x86)\\Garmin\\Express\\express.exe" failed, status c0000135
"Logs" :

Code: Select all

jean@jean-hpcompaq6200promtpc:~$ wine uninstaller --list
{93d474a6-3469-4be9-aba9-1eea99932d12}|||Garmin Express
{92FB6C44-E685-45AD-9B20-CADF4CABA132} - 1033|||Microsoft .NET Framework 4.7.2
{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6}|||Microsoft Visual C++ 2012 Redistributable (x64) - 11.0.61030
{33d1fd90-4274-48a1-9bc1-97e33d9c2d6f}|||Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.61030
{45231ab4-69fd-486a-859d-7a59fcd11013}|||Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.23.27820
Notepad++|||Notepad++ (64-bit x64)
{92FB6C44-E685-45AD-9B20-CADF4CABA132}.KB4087364|||Update for Microsoft .NET Framework 4.7.2 (KB4087364)
XBudget_is1|||XBudget 4.25

Code: Select all

jean@jean-hpcompaq6200promtpc:~$ sudo apt install winetricks
[sudo] Mot de passe de jean : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
winetricks est déjà la version la plus récente (0.0+20210206-2).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 33 non mis à jour.

Code: Select all

WINEPREFIX="$HOME/prefix32" WINEARCH=win32 wine wineboot
0050:err:vulkan:wine_vk_init Failed to load libvulkan.so.1.
0094:fixme:wineusb:add_usb_device Interface 0 has 2 alternate settings; using the first one.
0094:fixme:wineusb:add_usb_device Interface 1 has 2 alternate settings; using the first one.
0094:fixme:wineusb:add_usb_device Interface 2 has 2 alternate settings; using the first one.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:wineusb:query_id Unhandled ID query type 0x5.
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005

Code: Select all

jean@jean-hpcompaq6200promtpc:~$ find / -iname "*mscoree.dll*" 2>/dev/null
/home/jean/.wine-64/drive_c/windows/syswow64/mscoree.dll
/home/jean/.wine-64/drive_c/windows/system32/mscoree.dll
/home/jean/.wine-64/prefix/drive_c/windows/syswow64/mscoree.dll
/home/jean/.wine-64/prefix/drive_c/windows/system32/mscoree.dll
/home/jean/.wine/drive_c/windows/syswow64/mscoree.dll
/home/jean/.wine/drive_c/windows/system32/mscoree.dll
/home/jean/.wine32/drive_c/windows/system32/mscoree.dll
/home/jean/prefix32/drive_c/windows/system32/mscoree.dll
/home/jean/.PlayOnLinux/wineprefix/GarminExpress/drive_c/windows/system32/mscoree.dll
/home/jean/.PlayOnLinux/wine/linux-x86/5.8/lib/wine/mscoree.dll
/home/jean/.wine_captvty/drive_c/windows/system32/mscoree.dll
/opt/wine-stable/lib/wine/i386-windows/mscoree.dll
/opt/wine-stable/lib64/wine/x86_64-windows/mscoree.dll

Code: Select all

winetricks dotnet45
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: be4196ba3358be7c68cb58e7a7cbe9b37418e12e92beb88876e119998f438532 with wine-8.0.2 and WINEARCH=win64
Executing w_do_call dotnet45
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
dotnet45 already installed, skipping

Code: Select all

jean@jean-hpcompaq6200promtpc:~$ winetricks forcemono
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: be4196ba3358be7c68cb58e7a7cbe9b37418e12e92beb88876e119998f438532 with wine-8.0.2 and WINEARCH=win64
Executing w_do_call forcemono
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_forcemono 
Using native override for following DLLs: mscoree
Executing wine C:\windows\syswow64\regedit.exe C:\windows\Temp\override-dll.reg
Executing wine64 C:\windows\regedit.exe C:\windows\Temp\override-dll.reg
Using  override for following DLLs: mscorsvw.exe
Executing wine C:\windows\syswow64\regedit.exe C:\windows\Temp\override-dll.reg
Executing wine64 C:\windows\regedit.exe C:\windows\Temp\override-dll.reg
Any ideas?

Thank you for your help
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: 0134:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary

Post by jkfloris »

Could you try to install Garmin Express in a clean wineprefix with .Net 4.8?

Code: Select all

# Install .Net 4.8 in a new prefix
WINEPREFIX=$HOME/GarminExpr winetricks -q dotnet48

# Install Garmin Express
WINEPREFIX="${HOME}/GarminExpr" wine ${HOME}/Downloads/GarminExpress.exe

# Run Garmin Express
cd "${HOME}/GarminExpr/drive_c/Program Files (x86)/Garmin/Express"
WINEPREFIX="${HOME}/GarminExpr" wine express.exe
# or
WINE_D3D_CONFIG="renderer=no3d" WINEPREFIX="${HOME}/GarminExpr" wine express.exe
Keep in mind that Garmin Express will probably not be able to recognize your USB stick or GPS device.
35b9QPb
Newbie
Newbie
Posts: 2
Joined: Tue Aug 08, 2023 2:42 am

Re: 0134:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary

Post by 35b9QPb »

Thank you jkfloris

I put "mscoree.dll" on this directory as ask by command window :

Code: Select all

0134:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"express.exe" cannot be loaded

Code: Select all

jean@jean-hpcompaq6200promtpc:~$ find / -iname "*mscoree.dll*" 2>/dev/null
/home/jean/.wine/drive_c/Program Files (x86)/Garmin/Express // add the file on
Keep in mind that Garmin Express will probably not be able to recognize your USB stick or GPS device.
I understand that no possibility to device to Garmin Express?

Thank you
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: 0134:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary

Post by jkfloris »

After installing dotnet48 with winetricks, mscoree.dll is installed in system32 and syswow64. So there is no need to copy the files manually.

Code: Select all

cd ~/.wine
find ./ -iname "*mscoree.dll*"
./drive_c/windows/system32/mscoree.dll
./drive_c/windows/syswow64/mscoree.dll
The installation of .Net may fail. If this happens, try to install it again, or use a new wineprefix.

Code: Select all

WINEPREFIX=$HOME/GarminExpr winetricks --force -q dotnet48
According to the AppDB, some devices are recognized and some are not. To see if it works for you, you will have to test it yourself.
Locked