![Centos 9 스트리밍: 와인 가져오기: ntdll.so를 로드할 수 없습니다. [...] 권한 거부 오류](https://linux55.com/image/203213/Centos%209%20%EC%8A%A4%ED%8A%B8%EB%A6%AC%EB%B0%8D%3A%20%EC%99%80%EC%9D%B8%20%EA%B0%80%EC%A0%B8%EC%98%A4%EA%B8%B0%3A%20ntdll.so%EB%A5%BC%20%EB%A1%9C%EB%93%9C%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%5B...%5D%20%EA%B6%8C%ED%95%9C%20%EA%B1%B0%EB%B6%80%20%EC%98%A4%EB%A5%98.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