Gentoo 上的 Wine 失败,并显示必须安装 libgcc_s.so.1 消息

Gentoo 上的 Wine 失败,并显示必须安装 libgcc_s.so.1 消息

不久前,我的 Gentoo PC 上出现了与 Wine 相关的问题...当我尝试启动任何应用程序时,我都会看到以下信息:

libgcc_s.so.1 must be installed for pthread_cancel to work
wine client error:25: write: Неправильный дескриптор файла (RU>EN translation: Unknown file descriptor)

例如我尝试运行此命令:

wine rview34.exe

我得到了这个输出:

stan@morpheus ~/Downloads $ wine rview34ru.exe 
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-chm.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-gif.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-hlp.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-htm.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-ini.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-jfif.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-jpe.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-msp.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-png.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-rtf.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-txt.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-url.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-wri.desktop"
err:menubuilder:write_freedesktop_association_entry error writing association file "/home/stan/.local/share/applications/wine-extension-xml.desktop"
fixme:storage:create_storagefile Storage share mode not implemented.
libgcc_s.so.1 must be installed for pthread_cancel to work
wine client error:25: write: Неправильный дескриптор файла

以下是我认为应该与该问题相关的各种软件的版本......

sys-devel/binutils-2.22-r1
app-emulation/wine-1.4.1
sys-devel/gcc-4.7.2
sys-libs/glibc-2.15-r3
sys-kernel/gentoo-sources-3.6.6

实际上,前几天一切都运行正常,我曾经使用过 Radmin Viewer。最新更新是Linux 标头打开-rc我相信。

我试图回忆问题发生的时间,但实际上很难做到...我不经常使用 Wine...导致问题的原因之一可能是:

emerge -aveDN --with-bdeps=y system

我也尝试过重新安装上面列出的软件,首先我甚至删除了。葡萄酒文件夹,但它没有帮助......

我在 Google 上搜索答案大约 3-4 天,但仍然没有找到...然后我来这里寻求帮助!

谢谢你!

答案1

我很久没上 Gentoo 了,但似乎你缺少 libgcc。尝试使用 emerge 安装它 - 或者通过 emerge 搜索它以找到它所包含的软件包名称。然后安装并尝试再次运行 Wine。

答案2

以下是帮助我解决问题的方法:

cd /lib32
ln -s /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/32/libgcc_s.so.1 libgcc_s.so.1

但我猜这不是正确的方法,我应该对 GCC 路径配置做些什么......

相关内容