wine大量提示缺少dll

Wine、Cedega、CrossOver 等配置
回复
eaglesky1990
帖子: 11
注册时间: 2012-08-25 22:51

wine大量提示缺少dll

#1

帖子 eaglesky1990 » 2012-08-25 22:59

我的ubuntu是11.04版本,想用一个软件(冰点文库下载器),wine control中安装在了c:\Program Files 下, 用wine命令运行时显示如下:


err:module:import_dll Library KERNELBASE.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Debug-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-ErrorHandling-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-File-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Handle-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Interlocked-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-LibraryLoader-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Localization-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-LocalRegistry-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Memory-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Misc-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-ProcessThreads-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Profile-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-String-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Synch-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-SysInfo-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Program Files\\bingdian17\\iDocDown.exe") not found
err:module:import_dll Library API-MS-Win-Core-ErrorHandling-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Interlocked-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Misc-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-ProcessThreads-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Profile-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-String-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Synch-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-SysInfo-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library MSVCP60.dll (which is needed by L"C:\\Program Files\\bingdian17\\iDocDown.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\bingdian17\\iDocDown.exe" failed, status c0000135

我已经把c盘下windows \system32中的msvcp60.dll , mfc42.dll移到了虚拟c盘下的windows\system32中,并且在winecfg中也添加了这两个文件(设成了native),为何还会提示少这两个文件呢???
pmshou
帖子: 315
注册时间: 2012-05-05 20:21

Re: wine大量提示缺少dll

#2

帖子 pmshou » 2012-08-26 15:59

winetricks
看我注册日期:从此告别WINDOWS!
fracting
帖子: 278
注册时间: 2009-02-26 1:30

Re: wine大量提示缺少dll

#3

帖子 fracting » 2012-08-26 16:04

eaglesky1990 写了:我的ubuntu是11.04版本,想用一个软件(冰点文库下载器),wine control中安装在了c:\Program Files 下, 用wine命令运行时显示如下:


err:module:import_dll Library KERNELBASE.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Debug-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-ErrorHandling-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-File-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Handle-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Interlocked-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-LibraryLoader-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Localization-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-LocalRegistry-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Memory-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Misc-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-ProcessThreads-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Profile-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-String-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-Synch-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library API-MS-Win-Core-SysInfo-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MFC42.DLL") not found
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Program Files\\bingdian17\\iDocDown.exe") not found
err:module:import_dll Library API-MS-Win-Core-ErrorHandling-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Interlocked-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Misc-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-ProcessThreads-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Profile-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-String-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Synch-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-SysInfo-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library MSVCP60.dll (which is needed by L"C:\\Program Files\\bingdian17\\iDocDown.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\bingdian17\\iDocDown.exe" failed, status c0000135

我已经把c盘下windows \system32中的msvcp60.dll , mfc42.dll移到了虚拟c盘下的windows\system32中,并且在winecfg中也添加了这两个文件(设成了native),为何还会提示少这两个文件呢???
Hi,
请尝试 `winetricks -q mfc42`
如果不行的话, 请提供一下冰点下载器这个软件的下载链接, 我帮你测试一下.
Wine的使用中的一些常见误区:
viewtopic.php?f=121&t=363147

分享Wine调试经验 -- 第二季: Wine Dr.com 中文乱码
viewtopic.php?f=121&t=385111

做一名开源社区的扫地僧(上)
viewtopic.php?f=80&t=389615
eaglesky1990
帖子: 11
注册时间: 2012-08-25 22:51

Re: wine大量提示缺少dll

#4

帖子 eaglesky1990 » 2012-08-26 18:32

idocdown17.zip
(933.45 KiB) 已下载 107 次
idocdown17.zip
(933.45 KiB) 已下载 107 次
winetricks -q mfc42 命令输入后,出现:

Executing w_do_call mfc42
Executing load_mfc42
Executing mkdir -p /home/allenchin/.cache/winetricks/vcrun6
Downloading http://download.microsoft.com/download/ ... up_enu.exe to /home/allenchin/.cache/winetricks/vcrun6
--2012-08-26 18:19:54-- http://download.microsoft.com/download/ ... up_enu.exe
正在解析主机 download.microsoft.com... 58.221.68.10, 58.221.68.11
正在连接 download.microsoft.com|58.221.68.10|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 404 Not Found
2012-08-26 18:19:55 错误 404:Not Found。

------------------------------------------------------
Downloading http://download.microsoft.com/download/ ... up_enu.exe failed
------------------------------------------------------

确实已经联网了,但不知为何访问失败。。。

另外,本人试用winetricks 参考此文:http://blog.csdn.net/arthur_yang/articl ... ls/6365445
安装必须的dll,安到最后出现错误提示:

sha1sum mismatch! Rename /home/allenchin/.cache/winetricks/gdiplus/WindowsXP-KB975337-x86-ENU.exe and try again.

不知什么意思?

并且再次wine运行冰点程序仍然出现最开始的dll not found信息。。。
为什么怎么搞都提示少dll呢?怎么安都没用!!!是不是别还是什么原因???

冰点文库下载器1.7下载地址:http://xiazai.zol.com.cn/detail/42/417000.shtml#down
或从附件下载安装文件
idocdown17.zip
(933.45 KiB) 已下载 107 次
fracting
帖子: 278
注册时间: 2009-02-26 1:30

Re: wine大量提示缺少dll

#5

帖子 fracting » 2012-08-28 10:35

Hi, eaglesky1990

你遇到的问题是下载vcrun6组件不成功, 下载不成功的原因是微软官方网站近期移除了一部分更新包的下载.
此次事件的相关信息参见 [1] [2]

解决问题的方法是, 按照下面的链接下载最新版本的winetricks, 新版的winetricks更新了新的vcrun6以及其他组件的下载链接:
https://winetricks.googlecode.com/svn/t ... winetricks

下载完成之后, 执行下面的步骤:

1. 添加可执行权限:
$ chmod a+x winetricks

2. 从相对路径运行刚刚下载的winetricks, 安装mfc42:
$ winetricks -q mfc42

请试试上面的步骤能不能解决问题, 如果可以解决, 麻烦反馈一下, 如果不能解决, 请贴上新的终端输出.

[1] https://groups.google.com/forum/?fromgr ... lnNS6XrHOQ
[2] https://groups.google.com/forum/?fromgr ... BKvOamq3bA
Wine的使用中的一些常见误区:
viewtopic.php?f=121&t=363147

分享Wine调试经验 -- 第二季: Wine Dr.com 中文乱码
viewtopic.php?f=121&t=385111

做一名开源社区的扫地僧(上)
viewtopic.php?f=80&t=389615
eaglesky1990
帖子: 11
注册时间: 2012-08-25 22:51

Re: wine大量提示缺少dll

#6

帖子 eaglesky1990 » 2012-08-28 20:07

fracting:
用新版winetricks执行winetricks -q mfc42 成功将mfc42.dll安装。

然后我查了一下winetricks中windows dll的说明发现vcrun6中含msvc60.dll,所以用winetricks -q vcrun6将其安装,然后终端显示已安装。

然后我用wine运行冰点程序后信息如下:

err:module:import_dll Library API-MS-Win-Core-ErrorHandling-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Interlocked-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Misc-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-ProcessThreads-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Profile-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-String-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Synch-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-SysInfo-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library MSVCP60.dll (which is needed by L"C:\\Program Files\\bingdian17\\iDocDown.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\bingdian17\\iDocDown.exe" failed, status c0000135

发现mfc42.dll相关提示消失了,说明这个确实安装成功。但为何仍缺少MSVCP60.dll这个东西呢?
另外用winetricks -q msvcp60 这个命令也不行(提示“msvcp60''这个参数不对。。。)
tusooa
帖子: 6548
注册时间: 2008-10-31 22:12
系统: 践兔
联系:

Re: wine大量提示缺少dll

#7

帖子 tusooa » 2012-08-29 22:59

看你是内置的,还是从闻到死上来的dll.
如果是内置的去报告bug。如果从闻到死上来的去找google。

代码: 全选

] ls -ld //
fracting
帖子: 278
注册时间: 2009-02-26 1:30

Re: wine大量提示缺少dll

#8

帖子 fracting » 2012-08-29 23:57

eaglesky1990 写了:fracting:
用新版winetricks执行winetricks -q mfc42 成功将mfc42.dll安装。

然后我查了一下winetricks中windows dll的说明发现vcrun6中含msvc60.dll,所以用winetricks -q vcrun6将其安装,然后终端显示已安装。

然后我用wine运行冰点程序后信息如下:

err:module:import_dll Library API-MS-Win-Core-ErrorHandling-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Interlocked-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Misc-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-ProcessThreads-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Profile-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-String-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-Synch-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library API-MS-Win-Core-SysInfo-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\MSVCP60.dll") not found
err:module:import_dll Library MSVCP60.dll (which is needed by L"C:\\Program Files\\bingdian17\\iDocDown.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\bingdian17\\iDocDown.exe" failed, status c0000135

发现mfc42.dll相关提示消失了,说明这个确实安装成功。但为何仍缺少MSVCP60.dll这个东西呢?
另外用winetricks -q msvcp60 这个命令也不行(提示“msvcp60''这个参数不对。。。)
hi, 刚刚发现我上次的回复没发出去.

我估计的你的配置有问题, 建议按如下步骤新建一份wineprefix目录:

1. 备份旧的wineprefix目录:
$ mv ~/.wine ~/.wine-backup-20120829

2. 重新安装mfc42
$ ./winetricks -q mfc42

3. 重新安装你的软件

4. 重新尝试运行你的软件

如果不行的话, 再把终端输出贴出来.

good luck ;-)
Wine的使用中的一些常见误区:
viewtopic.php?f=121&t=363147

分享Wine调试经验 -- 第二季: Wine Dr.com 中文乱码
viewtopic.php?f=121&t=385111

做一名开源社区的扫地僧(上)
viewtopic.php?f=80&t=389615
回复