How to tell Wine to find a dll on my computer ?

Questions about Wine on Linux
Locked
Fanch
Newbie
Newbie
Posts: 2
Joined: Wed Oct 04, 2017 1:23 pm

How to tell Wine to find a dll on my computer ?

Post by Fanch »

Hello,

I'm trying to install Sketchup 2017 (64b windows programm) on my AMD/ati computer run with elementary Loki (based on Ubuntu 16.04 64bit).
My basic source of ingormation : https://appdb.winehq.org/objectManager. ... ngId=99210
I installed wine staging from WineHQ repository, the last Winetricks https://wiki.winehq.org/Winetricks,
I red this too : https://wiki.winehq.org/Wine_User%27s_G ... ssing_DLLs .

But, among many other errors I think I should be able to fix this one :

Code: Select all

err:module:import_dll Library MSVCR120_CLR0400.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscorsvw.exe") not found
I know where is this f***ing dll in the correct wine prefix directory (/home/fanch/Logiciel/sketchup-fr-Pro-Benny-Profane/drive_c/windows/syswow64/) so I'd like to tell mister "mscorsvw.exe" where it can find it.

How can I do that ?
User avatar
dimesio
Moderator
Moderator
Posts: 13204
Joined: Tue Mar 25, 2008 10:30 pm

Re: How to tell Wine to find a dll on my computer ?

Post by dimesio »

The dlls in syswow64 are 32 bit; the 64 bit ones are in system32. You need 64 bit vcrun2013. I'm not sure if winetricks can install it, so you may have to try to do it manually.
Fanch
Newbie
Newbie
Posts: 2
Joined: Wed Oct 04, 2017 1:23 pm

Re: How to tell Wine to find a dll on my computer ?

Post by Fanch »

Thank you !

I stopped tryng the 64bit install and Now I'm trying to install Sketchup 2016 (the last 32bit version).
madewokherd
Level 4
Level 4
Posts: 144
Joined: Mon Jun 02, 2008 5:03 pm

Re: How to tell Wine to find a dll on my computer ?

Post by madewokherd »

There is a bug affecting many of the 64-bit C++ runtime installers that causes them to install dll's into the wrong directory, so you may need to move them from syswow64 to system32 after running the 64-bit installer.
Locked