[Wine] Re: "Module not found"
dank
daniel.r.kegel at gmail.com
Mon Mar 19 00:46:48 CDT 2007
roboknight wrote:
> I'm trying to run a program called GSAK (Geocaching Swiss Army Knife)
> under Wine. Most of it runs, however, as part of its normal operation
> it creates a batch file, BABEL.BAT, to communicate with a GPS using
> GPSBabel. I've run GPSBabel by itself under wine and it works. I've
> run the batchfile by hand and *THAT* works (under wcmd). However, I've
> since discovered that when GSAK tries to execute BABEL.BAT (GSAK is a
> delphi program which uses something similar to VBs ShellExecute to run
> batch files), wine looks for cmd.exe to run and fails to find it.
Yes, this is http://bugs.winehq.org/show_bug.cgi?id=5608
> I tried to correct this by linking cmd.exe to wcmd.exe to execute,
> because I figured setting COMSPEC wouldn't be enough as GSAK is looking
> for cmd.exe not wcmd.exe, with the following results:
>
> wine: could not load L"C:\\windows\\cmd.exe": Module not found
Expected. Just linking that one file won't work. You also have to do
something like
cd /usr/bin
sudo ln wcmd cmd
cd /usr/lib/wine
sudo ln wcmd.exe.so cmd.exe.so
Let me know if that helps.
> Now I'm running version 0.9.15 of wine because GSAK won't run on
> anything past 0.9.16 (In otherwords, I could upgrade to 0.9.16 maybe,
> but at this point no farther because GSAK causes a terrible execption
> in later versions... that's my next task to fix)... So upgrading really
> isn't an option.
Ouch. I do hope you figure out what caused that. Please file a bug
in wine's bugzilla when you do.
- Dan
More information about the wine-users
mailing list