For some Linux distributions, especially products with some relationship with Redhat, SELinux may be enabled to insure a higher security. Thus for some utility, when attempting to execute it may complain that “cannot enable executable stack as shared object”.
However when you know the software doesn’t need executable stack or test proving it, you can use the command execstack to clear the executable stack flag of the ELF binaries or shared libraries.
For example:
execstack –c ~/bin/foo
execstack –c ~/lib/libbar.so