LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   WINE dll Problem (https://www.linuxquestions.org/questions/linux-software-2/wine-dll-problem-198421/)

illiniguy3043 06-27-2004 06:14 PM

WINE dll Problem
 
I have Mandrake 10 installed and I want to run my Windows version of AutoCAD 2004 in Linux with WINE. However when I go to run it with WINE I get the following:

wine /home/windows/Program\ Files/AutoCAD\ 2004/acad.exe

err:module:import_dll Library gdiplus.dll (which is needed by L"Z:\\home\\windows\\Program Files\\AutoCAD 2004\\acad.exe") not found
err:module:import_dll Library ac1st16.dll (which is needed by L"Z:\\home\\windows\\Program Files\\AutoCAD 2004\\acad.exe") not found
err:module:import_dll Library acdb16.dll (which is needed by L"Z:\\home\\windows\\Program Files\\AutoCAD 2004\\acad.exe") not found
err:module:import_dll Library acdb16.dll (which is needed by L"Z:\\home\\windows\\Program Files\\AutoCAD 2004\\acui16.dll") not found
err:module:import_dll Library acui16.dll (which is needed by L"Z:\\home\\windows\\Program Files\\AutoCAD 2004\\acad.exe") not found
err:module:import_dll Library AcGe16.dll (which is needed by L"Z:\\home\\windows\\Program Files\\AutoCAD 2004\\acad.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\windows\\Program Files\\AutoCAD 2004\\acad.exe" failed, status c0000135

What do I need to modify?

TheOneAndOnlySM 06-27-2004 07:17 PM

well, it looks like you'll need to find those dll's

did you just copy over the install from a windows partition? those dll's are, afaik, not native dll's, but specific to the program

illiniguy3043 06-27-2004 07:19 PM

No I bought a new hard drive and just installed Mandrake onto it.

illiniguy3043 06-27-2004 08:34 PM

Ok so after I find the dll's on my windows disk or wherever, what do I do then? Is there some PATH variable in WINE that I can modify so it searches in the correct directory?

leadazide 06-28-2004 08:48 AM

try this

first cd into acad dir, and then run wine

cd "/home/windows/Program Files/Auto CAD 2004/"
wine acad

btw what wine ver do you use?

illiniguy3043 06-28-2004 09:22 AM

Ok I'll try that, but now after I rebooted into Windows on my other hard disk and then rebooted back into Linux I can't access my Windows HDD that has AutoCAD on it. My umask is set on 755 for my Windows HDD in Linux. My /etc/fstab reads as follows:

/dev/hda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda6 /home ext3 defaults 1 2
/dev/hdb2 /home/windows ntfs umask=755,user,suid,dev,exec 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0


By the way my WINE version is 20040615.

leadazide 06-29-2004 06:38 AM

what error does the kernel print?

Can it load the module ntfs.o?

illiniguy3043 06-29-2004 09:37 AM

I'm not sure but I know I have read access on the NTFS hard disk because I tried it out to make sure before I attempted using WINE. I also attempted cd'ing into the AutoCAD directory and then running WINE in hopes it would find the dll's there but no such luck.

leadazide 06-29-2004 01:53 PM

Then you'd search for these dll's in autocad dir and in .../home/windows/system32. If you don't find anything, try to reinstall acad.
BTW I am not sure that the program will run from a read-only partition. If it doesn't work after installing dll's try to copy acad to a writable partition.

SentinelT 07-02-2004 10:13 AM

I had to place some Dll's I needed for a prog into the "fake_windows/windows/system32" folder putting them anywhere else and they are ignored <shrug>

Jimbo99 07-02-2004 02:25 PM

Do you know if ACAD 2004 actually works with wine on linux? If so, is there a web site that gives you instructions on how to make it work? If not, how did you find out you could use it? Did you just give it a try? Did you install ACAD 2004 using Wine? Have you heard of cedega? http://www.transgaming.com.


All times are GMT -5. The time now is 07:29 PM.