LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2007, 01:18 PM   #1
LoneCanisLupus
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
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.
 
Old 02-24-2007, 01:25 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You should just need to copy the DLLs from your Windows install and put them in "/winedirectory/windows/system".
 
Old 02-24-2007, 02:06 PM   #3
LoneCanisLupus
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Original Poster
Rep: Reputation: 0
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 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...
 
Old 02-24-2007, 04:12 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
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.

Last edited by dive; 02-24-2007 at 04:14 PM.
 
Old 02-24-2007, 04:36 PM   #5
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.
 
Old 02-24-2007, 05:08 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
System is used by win9x and System32 by NT/2K/XP. I guess a symlink will work just as good.
 
Old 02-24-2007, 05:47 PM   #7
karyoker
LQ Newbie
 
Registered: Feb 2007
Distribution: Etch 2.6.18-3-686
Posts: 26

Rep: Reputation: 15
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 .

Last edited by karyoker; 02-24-2007 at 08:17 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine using windows DLLs dlublink Linux - Desktop 2 11-21-2006 12:47 PM
wine cant find dlls CrashedAgain Linux - Software 4 11-17-2005 01:07 PM
wine dlls megadeth Linux - Software 1 03-20-2005 02:39 PM
Wine did not install DLLs Ephracis Linux - Software 2 12-11-2004 11:44 AM
Wine cant find the dlls? Eponick Linux - Software 2 06-16-2004 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration