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

관련 정보