Centos 9ストリーミング:ワインインポート:ntdll.soを読み込めませんでした。 [...]権限拒否エラー

Centos 9ストリーミング:ワインインポート:ntdll.soを読み込めませんでした。 [...]権限拒否エラー

Centos Stream 9にnotepad ++をインストールしたいです。私は次のチュートリアルに従いました。https://snapcraft.io/install/notepad-plus-plus/centos

notepad++を実行すると、次のエラーが発生します。

[sudo] password for user: 
Initialising Wine..
wine: could not load ntdll.so: /snap/notepad-plus-plus/349/wine-platform/wine-stable/bin/../lib/wine/ntdll.so: cannot restore segment prot after reloc: Permission denied
wine: could not load ntdll.so: /snap/notepad-plus-plus/349/wine-platform/wine-stable/bin/../lib/wine/ntdll.so: cannot restore segment prot after reloc: Permission denied
Installing application..
Running hook '/snap/notepad-plus-plus/349/sommelier/hooks/pre-install'
Starting application..
wine: could not load ntdll.so: /snap/notepad-plus-plus/349/wine-platform/wine-stable/bin/../lib/wine/ntdll.so: cannot restore segment prot after reloc: Permission denied

ベストアンサー1

問題は次の部分にあります。 cannot restore segment prot after reloc: Permission denied

この問題は、コンピューターに SELinux (Security Enhanced Linux) がインストールされているために発生します。 SELinux構成は、共有ライブラリ「ntdll.so」がロードされるのを防ぎます。

現在のセッション中にのみ問題を解決してください。 [user@localhost bin]$ /usr/sbin/setenforce 0

その後、正常にワインを実行することができます。

この問題を完全に解決するには、以下の詳細を確認してください。 https://www.ibm.com/support/pages/error-cannot-restore-segment-prot-after-reloc-permission-denied-during-linux-installation

おすすめ記事