Discussion:
[Wine] Cannot find 'MFC42.DLL' - Problems installing Windows app
grace_lao
2011-12-06 13:59:14 UTC
Permalink
I'm trying to install a Windows application using Wine, but I'm running into some difficulties.

The .exe file is in my Documents
($) cd Documents
($) wine [File name].exe
then X11 launches, but I receive this message: Cannot find 'MFC42.DLL'. Please, re-install this application.
Terminal says: fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot

Any ideas on how to troubleshoot?

Thanks!
James McKenzie
2011-12-06 14:09:44 UTC
Permalink
Post by grace_lao
I'm trying to install a Windows application using Wine, but I'm running into some difficulties.
The .exe file is in my Documents
($) cd Documents
($) wine [File name].exe
then X11 launches, but I receive this message: Cannot find 'MFC42.DLL'. Please, re-install this application.
Terminal says: fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
Any ideas on how to troubleshoot?
Please use winetricks to install this missing dll file.
http://wiki.winehq.org/winetricks. Product is a third party
application, but limited support is available here, but if something
does not work please file an issue at the location pointed to on the
Wiki Page.

James
grace_lao
2011-12-06 14:33:56 UTC
Permalink
I went to http://wiki.winehq.org/winetricks, and I downloaded winetricks (which to clarify, didn't register as a .dmg) and ran it on through the terminal control. After executing the previous, I still receive the same problem (cannot find 'MFC42.DLL') even when following the directions on using winetricks and attempting to install the .dll.

I apologize if this is the wrong forum to post these problems. If it is, please direct me to the correct website to post these queries. Thank you!
John Drescher
2011-12-06 14:36:11 UTC
Permalink
Post by grace_lao
I went to http://wiki.winehq.org/winetricks, and I downloaded winetricks (which to clarify, didn't register as a .dmg) and ran it on through the terminal control. After executing the previous, I still receive the same problem (cannot find 'MFC42.DLL') even when following the directions on using winetricks and attempting to install the .dll.
I apologize if this is the wrong forum to post these problems. If it is, please direct me to the correct website to post these queries. Thank you!
When you ran winetricks did you tell it to install mfc42?

John
grace_lao
2011-12-06 14:51:51 UTC
Permalink
Yes, I tried.

Opened Terminal Control
($) cd Documents
($) sh winetricks mfc42
X11 opened, and I received the following in Terminal Control:
Executing w_do_call mfc42
Executing load_mfc42
------------------------------------------------------
Cannot find cabextract. Please install it (e.g. 'sudo apt-get install cabextract' or 'sudo yum install cabextract').
------------------------------------------------------

After that I tried ($) sh winetricks cabextract - no idea if that is the correct move, especially since TC then said "Unknown arg cabextract."

Did not know how to proceed after that.
dimesio
2011-12-06 15:33:10 UTC
Permalink
Post by grace_lao
------------------------------------------------------
Cannot find cabextract. Please install it (e.g. 'sudo apt-get install cabextract' or 'sudo yum install cabextract').
------------------------------------------------------
After that I tried ($) sh winetricks cabextract - no idea if that is the correct move, especially since TC then said "Unknown arg cabextract."
Did not know how to proceed after that.
Proceed by doing exactly what winetricks told you to do: install cabextract using the appropriate command for your distro.
grace_lao
2011-12-06 15:45:01 UTC
Permalink
Yes, that is what I attempted to do, but I am not sure what the appropriate command to install cabextract would be for my distro. Any suggestions would be much appreciated! This is what I tried:

($) cd Documents
($) sh winetrcks mfc42
Executing w_do_call mfc42
Executing load_mfc42
------------------------------------------------------
Cannot find cabextract. Please install it (e.g. 'sudo apt-get install cabextract' or 'sudo yum install cabextract').
------------------------------------------------------
($) sh winetricks cabextract

Unfortunately, I was met by the following:

Unknown arg cabextract
Usage: winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs. Each verb installs an application or changes a setting.

Options:
--force Don't check whether packages were already installed
--gui Show gui diagnostics even when driven by commandline
-k, --keep_isos Cache isos (allows later installation without disc)
--no-clean Don't delete temp directories (useful during debugging)
--no-isolate Don't install each app or game in its own bottle
-q, --unattended Don't ask any questions, just install automatically
-r, --ddrescue Retry hard when caching scratched discs
--showbroken Even show verbs that are currently broken in wine
-v, --verbose Echo all commands as they are executed
-h, --help Display this message and exit
-V, --version Display version and exit

Commands:
list list categories
apps list list verbs in category 'applications'
benchmarks list list verbs in category 'benchmarks'
dlls list list verbs in category 'dlls'
games list list verbs in category 'games'
settings list list verbs in category 'settings'
list-cached list cached-and-ready-to-install verbs
list-download list verbs which download automatically
list-manual-download list verbs which download with some help from the user
list-installed list already-installed verbs
prefix=foobar select WINEPREFIX=/Users/ginnylaub/.local/share/wineprefixes/foobar
John Drescher
2011-12-06 15:52:36 UTC
Permalink
Ask your distro.
Post by grace_lao
($) cd Documents
($) sh winetrcks mfc42
Executing w_do_call mfc42
Executing load_mfc42
------------------------------------------------------
Cannot find cabextract.  Please install it (e.g. 'sudo apt-get install cabextract' or 'sudo yum install cabextract').
------------------------------------------------------
($) sh winetricks cabextract
Unknown arg cabextract
Usage: winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs.  Each verb installs an application or changes a setting.
cabextract is not something winetricks can install.
grace_lao
2011-12-06 16:04:24 UTC
Permalink
Thanks for that information, John. I installed cabextract, but I'm still having trouble installing the .dll.

($) sh winetricks mfc42
Executing w_do_call mfc42
Executing load_mfc42
Executing cabextract -q /Users/---------/Library/Caches/winetricks/vcrun6/vcredist.exe -d /Users/---------/.wine/dosdevices/c:/windows/system32 -F mfc42*.dll
dyld: unknown required load command 0x80000022
winetricks: line 256: 21553 Trace/BPT trap "$@"
------------------------------------------------------
Note: command 'cabextract -q /Users/---------/Library/Caches/winetricks/vcrun6/vcredist.exe -d /Users/---------/.wine/dosdevices/c:/windows/system32 -F mfc42*.dll' returned status 133. Aborting.
------------------------------------------------------

Is there anything I can do from this point on?
Charles Davis
2011-12-06 23:49:55 UTC
Permalink
Post by grace_lao
Thanks for that information, John. I installed cabextract, but I'm still having trouble installing the .dll.
($) sh winetricks mfc42
Executing w_do_call mfc42
Executing load_mfc42
Executing cabextract -q /Users/---------/Library/Caches/winetricks/vcrun6/vcredist.exe -d /Users/---------/.wine/dosdevices/c:/windows/system32 -F mfc42*.dll
dyld: unknown required load command 0x80000022
Ah, you're on a Mac. What version of Mac OS are you running? It looks like it's too old to run the cabextract binary you found--another way of putting this is that the cabextract binary is too new to be run on your Mac OS. You might try building and installing cabextract yourself.

Chip
mikejision
2011-12-07 01:50:11 UTC
Permalink
north-face-kids-denali-jackets92 by Dana Marshallin Advertising (submitted 2011-09-15)Offered the good quality of building and the notable supplies, it also arrives with a solid cost tag. North Confront understands that not everyone is ready to forgo a week of groceries to personal a jacket. There is a greater solution than waiting patiently for an stop-of-the-period sale!
mikejision
2011-12-07 01:52:16 UTC
Permalink
A North Face Outlet shop will aid you to experience a North Deal with jacket with less of a dent in your North face outlet store (http://www.northerfacestore.com/) financial institution account. A North Confront Outlet is stocked with well-liked variations that need a good house. Swing by one of the several North Face Outlet places and encounter issues for oneself.
grace_lao
2011-12-07 08:47:03 UTC
Permalink
I have Mac OS X, version 10.5.8 (Leopard). Thanks for clarifying that the binary I downloaded may be too new for my current software for it to properly work.

I tried to follow the http://forum.winehq.org/viewtopic.php?t=7135&sid=e32737b040507ab8101e008e1cc3dedb instructions to install cabextract using MacPorts, but I was unsuccessful.

I'm quite new at this, and I have no idea how to go about building cabextract myself. Do you have any suggestions for me?

Much appreciated.

Continue reading on narkive:
Loading...