problem with libcudart

Hi,

when executing any of the SDK example programs I have the following error message :

./clock: error while loading shared libraries: /usr/local/cuda/lib/libcudart.so.2: cannot restore segment prot after reloc: Permission denied

Does anyone know how to solve this ?

Thanks in advance

Cheers

Mathieu

This is an SELinux issue. Which Linux distribution are you using?

I am using CentOS 5.2 (RedHat 5)

Does this persist if you (temporarily) disable SELinux ?

How do you do that ?

Edit /etc/selinux/config

change SELINUX value

SELINUX=disabled

Reboot.