Caligare NetFlow - Knowledgebase

Email to friend
* Your name:
* Your email:
* Friend's email:
Comment:
code
* Confirmation code:   Write the characters in the image above exactly as you see it


libmysqlclient.so.10: cannot enable executable stack as shared object requires

This error message is displayed on kernels with exec-shield protection - usually on Fedora/RedHat distributions. In kernels with ExecShield technology, the addresses at which these binaries are loaded is randomized, yet in kernels without ExecShield and PIE support, these binaries are loaded at a generally predictable location.

Not all programs are suitable to be compiled as PIE; because PIE binaries must be relocatable, they are compiled to become Position Independent Code. Since PIE is a new technology, not all programs in Red Hat Enterprise Linux use it yet.

For more details, please, read the following URL(s):
1. exec-shield description: http://www.redhat.com/f/pdf/rhel/WHP0006US_Execshield.pdf
2. description of security enhancements in RHEL/FC: http://people.redhat.com/drepper/nonselsec.pdf

The following command will disable exec-shild protection requirement for binaries and their libraries.
echo 0 > /proc/sys/kernel/exec-shield
This will not disable protection for binaries, that are compiled with exec-shild protection.



RSS