![尽管安装了 wine-gecko 2.47.1,Wine 仍找不到 Wine Gecko](https://linux22.com/image/185888/%E5%B0%BD%E7%AE%A1%E5%AE%89%E8%A3%85%E4%BA%86%20wine-gecko%202.47.1%EF%BC%8CWine%20%E4%BB%8D%E6%89%BE%E4%B8%8D%E5%88%B0%20Wine%20Gecko.png)
根据 @GAD3R 给出的有用建议适用于 64 位 Lubuntu 20.04 的 Wine64 或 Wine 32?我从 Ubuntu 20.04 存储库安装了 Wine 5.0(64 位)。
在运行我的 Windows 应用程序时,出现以下错误:
Could not find Wine Gecko. HTML rendering will be disabled.
0009:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
在一些谷歌搜索上我看到了https://askubuntu.com/questions/1290789/iexplorer-under-wine-is-missing-wine-gecko回答如何安装 Wine Gecko。我执行了建议的步骤如下:
$ wget http://dl.winehq.org/wine/wine-gecko/2.47.1/wine-gecko-2.47.1-x86_64.msi
$ wine msiexec /i wine-gecko-2.47.1-x86_64.msi
我还验证了安装在我的主目录下添加了以下目录:
$ ls -l /home/_myuser_/.wine/drive_c/windows/system32/gecko/2.47.1/wine_gecko
现在,当我尝试再次运行 Windows 应用程序时,出现相同的错误:
Could not find Wine Gecko. HTML rendering will be disabled.
0009:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
我究竟做错了什么?
感谢您的帮助。
答案1
如果您的应用程序是 32 位程序,你还需要 32 位 Gecko:
对于 64 位 (WoW64) Wine,需要 x86 和 x86_64 软件包。
wget http://dl.winehq.org/wine/wine-gecko/2.47.1/wine-gecko-2.47.1-x86.msi
wine msiexec /i wine-gecko-2.47.1-x86.msi