- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page