help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Oct files on SELinux


From: Julien Salort
Subject: Oct files on SELinux
Date: Fri, 23 Nov 2012 17:20:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin)

Hello,

I have a strange problem on a CentOS 5-based linux system. I have a
simple Hello-world Oct file that simply octave_stdout a Hello World
message.

If I compile it with:
mkoctfile helloworld.cpp
-> it works

If I compile it with:
g++ -c `mkoctfile -p ALL_CFLAGS` helloworld.cpp
mkoctfile helloworld.o

Then I need to setenforce 0. Otherwise, I get 
cannot restore segment prot after reloc: Permission denied
whenever I try to run the helloworld command.

Do you have an idea on how to work around this problem, without
disabling SELinux ?

Thanks for any pointer...

Julien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]