LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   wine DLLs, can you add new ones? (https://www.linuxquestions.org/questions/linux-software-2/wine-dlls-can-you-add-new-ones-532038/)

LoneCanisLupus 02-24-2007 01:18 PM

wine DLLs, can you add new ones?
 
I need some help with wine, I've been able to run some exe's from my windows side of the drive that didn't request much DLLs but some that need certain DLLs won't run. Here's an example:
Code:

err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avcodec.dll") not found
err:module:import_dll Library avcodec.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\videoenc.exe") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avcodec.dll") not found
err:module:import_dll Library avcodec.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avformat.dll") not found
err:module:import_dll Library MFC71.DLL (which is needed by L"Z:\\windows\\C\\Pr
ogram Files\\ImTOO\\MPEG Encoder 3\\TagEditor.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\TagEditor.dll") not found
err:module:import_dll Library MSVCP71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\TagEditor.dll") not found
err:module:import_dll Library TagEditor.dll (which is needed by L"Z:\\windows\\C
\\Program Files\\ImTOO\\MPEG Encoder 3\\avformat.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avformat.dll") not found
err:module:import_dll Library avformat.dll (which is needed by L"Z:\\windows\\C\
\Program Files\\ImTOO\\MPEG Encoder 3\\videoenc.exe") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\SDL.dll") not found
err:module:import_dll Library SDL.dll (which is needed by L"Z:\\windows\\C\\Prog
ram Files\\ImTOO\\MPEG Encoder 3\\avp.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avcodec.dll") not found
err:module:import_dll Library avcodec.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avformat.dll") not found
err:module:import_dll Library MFC71.DLL (which is needed by L"Z:\\windows\\C\\Pr
ogram Files\\ImTOO\\MPEG Encoder 3\\TagEditor.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\TagEditor.dll") not found
err:module:import_dll Library MSVCP71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\TagEditor.dll") not found
err:module:import_dll Library TagEditor.dll (which is needed by L"Z:\\windows\\C
\\Program Files\\ImTOO\\MPEG Encoder 3\\avformat.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avformat.dll") not found
err:module:import_dll Library avformat.dll (which is needed by L"Z:\\windows\\C\
\Program Files\\ImTOO\\MPEG Encoder 3\\avp.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avcodec.dll") not found
err:module:import_dll Library avcodec.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avp.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avcodec.dll") not found
err:module:import_dll Library avcodec.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\watermark.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\watermark.dll") not found
err:module:import_dll Library watermark.dll (which is needed by L"Z:\\windows\\C
\\Program Files\\ImTOO\\MPEG Encoder 3\\avp.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\
Program Files\\ImTOO\\MPEG Encoder 3\\avp.dll") not found
err:module:import_dll Library avp.dll (which is needed by L"Z:\\windows\\C\\Prog
ram Files\\ImTOO\\MPEG Encoder 3\\videoenc.exe") not found
err:module:import_dll Library MFC71.DLL (which is needed by L"Z:\\windows\\C\\Pr                                                          ogram Files\\ImTOO\\MPEG Encoder 3\\UILib71.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\                                                          Program Files\\ImTOO\\MPEG Encoder 3\\UILib71.dll") not found
err:module:import_dll Library MSVCP71.dll (which is needed by L"Z:\\windows\\C\\                                                          Program Files\\ImTOO\\MPEG Encoder 3\\UILib71.dll") not found
err:module:import_dll Library UILib71.dll (which is needed by L"Z:\\windows\\C\\                                                          Program Files\\ImTOO\\MPEG Encoder 3\\videoenc.exe") not found
err:module:import_dll Library MFC71.DLL (which is needed by L"Z:\\windows\\C\\Pr                                                          ogram Files\\ImTOO\\MPEG Encoder 3\\videoenc.exe") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\                                                          Program Files\\ImTOO\\MPEG Encoder 3\\videoenc.exe") not found
err:module:import_dll Library MFC71.DLL (which is needed by L"Z:\\windows\\C\\Pr                                                          ogram Files\\ImTOO\\MPEG Encoder 3\\GWCProp.dll") not found
err:module:import_dll Library MSVCR71.dll (which is needed by L"Z:\\windows\\C\\                                                          Program Files\\ImTOO\\MPEG Encoder 3\\GWCProp.dll") not found
err:module:import_dll Library MSVCP71.dll (which is needed by L"Z:\\windows\\C\\                                                          Program Files\\ImTOO\\MPEG Encoder 3\\GWCProp.dll") not found
err:module:import_dll Library GWCProp.dll (which is needed by L"Z:\\windows\\C\\                                                          Program Files\\ImTOO\\MPEG Encoder 3\\videoenc.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\windows\\C\\Prog                                                          ram Files\\ImTOO\\MPEG Encoder 3\\videoenc.exe" failed, status c0000135

Is there anyway to get these DLLs on there? Like linking to my windows DLLs? Help would be appriciated.

MS3FGX 02-24-2007 01:25 PM

You should just need to copy the DLLs from your Windows install and put them in "/winedirectory/windows/system".

LoneCanisLupus 02-24-2007 02:06 PM

Quote:

Originally Posted by MS3FGX
You should just need to copy the DLLs from your Windows install and put them in "/winedirectory/windows/system".

Well, I've done that and it doesn't seem to work :confused: Is just making link files(shortcuts) to the files ok? or does it have to be the actual file there? Because on one program it seemed to want to work because it started asking for new DLLs that the DLLs in that folder needed...but I copied all my DLLs as link files to the system folder...

dive 02-24-2007 04:12 PM

Usually you need to start winecfg and specify whether to use the dll as 'native' or 'built-in'. You need to add your application to the apps tab, select it and add the dll name to library tab, then try different settings until the error goes. Also sometimes it helps to specify a different windows version for your app, but you must remember to copy dll to both system and system32 if you want to experiment that way.

I've never tried linking dlls but it should work. If theres any you dont find, search for the dll name in google and you will come across a lot of links to free dll download sites.

MS3FGX 02-24-2007 04:36 PM

Quote:

but you must remember to copy dll to both system and system32 if you want to experiment that way.
On my system /windows/system32 is just a symlink to /windows/system. I assumed this was the norm. You have separate directories for both?

As for the linking to DLLs, I have never tried it either. I just copy them all to the Wine system directory. The files are so small that I never worried about the duplicates.

dive 02-24-2007 05:08 PM

System is used by win9x and System32 by NT/2K/XP. I guess a symlink will work just as good.

karyoker 02-24-2007 05:47 PM

As a newbie I do not understand how you are trying to run your progam.. I recently got a karaoke hoster progam emulated using codeweaver crossover which uses wine.. I installed it into the c_drive which is generated when you first run wine.. The hoster uses the access data base so I had to install a few things first
IE 6.0
Jet40SP8_9xNT.exe
MDAC_TYP_2.81.EXE
vbrun60sp5.exe
Then I had to add one dll into home /user/.(dot) wine c_drive/Windows?system32

Other programs might reqire directx 9 or netframe1.1 or 2.0
I had to use a win98 platform

It was a project but running under etch with a 3.2 cpu it kicks ass and runs faster and is more stable than windows esp XP

Crossover has abeta version you can try for 60 days..

If you are interested here is a link to a tutorial I wrote on it tut

Maybe this will give you some more ideas....

With these installed most windows programs will run under linux and put the right dll's necessarry into the system32 folder when installled .


All times are GMT -5. The time now is 05:34 AM.