![Centos 9ストリーミング:ワインインポート:ntdll.soを読み込めませんでした。 [...]権限拒否エラー](https://linux33.com/image/203213/Centos%209%E3%82%B9%E3%83%88%E3%83%AA%E3%83%BC%E3%83%9F%E3%83%B3%E3%82%B0%EF%BC%9A%E3%83%AF%E3%82%A4%E3%83%B3%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88%EF%BC%9Antdll.so%E3%82%92%E8%AA%AD%E3%81%BF%E8%BE%BC%E3%82%81%E3%81%BE%E3%81%9B%E3%82%93%E3%81%A7%E3%81%97%E3%81%9F%E3%80%82%20%5B...%5D%E6%A8%A9%E9%99%90%E6%8B%92%E5%90%A6%E3%82%A8%E3%83%A9%E3%83%BC.png)
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