cannot enable executable stack as shared object requires: Operation not permitted

Hi,

I wanna run an executable from the command line on a CentOS 6 box. I have installed glibc-2.14 to an alternative path on /opt/glibc-2.14/lib as CentOS 6 only supports 2.12 out of the box. So this works. (was a pain getting it to work)

However now I get the following error message:

Failed to load plugin MySQLCommunityPlugin64.so: /path/to/executable Libs/MySQLCommunityPlugin64.so: cannot enable executable stack as shared object requires: Operation not permitted

Doing some research I found out that Selinux could be the problem, but it is deactivated on this system.

Please do not suggest using another operating system. Sometimes it is simply not possible to upgrade to the system you would prefer ;).

Thanks in advance for support.

This might help
http://unix.stackexchange.com/questions/49039/chcon-fails-to-fix-cannot-enable-executable-stack-as-shared-object-requires-er

That did the trick, thanks. Had to install execstac though.

What baffles me is that Selinux checks permission despite the fact that it is deactivated on the system.