- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
I installed Intel fortran V 9.0 on my AMD 64 machine and complie the sample program, int_sin.f90. But if I run the "a.out" file, I always havean error message as,
"error while loading shared libraries: /installed-dir/lib/libimf.so:
cannot restore segment prot after reloc: Permission denied"
Can anyone help me about this error?
Thank you
Ksim77
コピーされたリンク
2 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Your problem is with the SELinux extensions. I ran the following to change the configuration. I am not sure what the command actually did, but it allowed my to execute my programs.
Assuming your intel compilers are in /opt/intel:
# chcon -t texrel_shlib_t `find . -name *.so`
This will change the security settings for all shared libraries for all intel compilers installed.
You can always disable SELinux as well.
Craig
Assuming your intel compilers are in /opt/intel:
# chcon -t texrel_shlib_t `find . -name *.so`
This will change the security settings for all shared libraries for all intel compilers installed.
You can always disable SELinux as well.
Craig
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Sorry for following my own reply. The syntax of the command should have been:
# chcon -t texrel_shlib_t `find /opt/intel -name *.so`
Craig
# chcon -t texrel_shlib_t `find /opt/intel -name *.so`
Craig
