我在笔记本电脑上运行 Fedora 30。昨天我尝试使用以下命令安装 wine:
$ sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/30/winehq.repo
$ sudo dnf -y install winehq-stable
安装似乎有效,但是当我尝试启动 winecfg
$ winecfg
/opt/wine-stable/bin/wine: error while loading shared libraries: libwine.so.1: cannot create shared object descriptor: Operation not permitted
或任何 *.exe 文件
$ wine whatever.exe
/opt/wine-stable/bin/wine: error while loading shared libraries: libwine.so.1: cannot create shared object descriptor: Operation not permitted
我在 ld 库中检查了 /usr/bin 中的 wine 可执行文件:
$ cd /usr/bin
$ ldd wine
linux-gate.so.1 (0x2a9f2000)
libwine.so.1 => /usr/bin/./../lib/libwine.so.1 (0x2a836000)
libpthread.so.0 => /usr/bin/./../lib/libpthread.so.0 (0x2a815000)
libc.so.6 => /usr/bin/./../lib/libc.so.6 (0x2a66e000)
libdl.so.2 => /lib/libdl.so.2 (0x2a63b000)
/lib/ld-linux.so.2 (0x2a9f3000)
那里一切似乎都很好。那么,为什么会出现“无法创建共享对象描述符:不允许操作”错误?:(