The error “libnxcim.so: cannot enable executable stack as shared object requires: Permission denied” occurs when software (software) attempts to allow execution of code located in the software stack. By default, execution of such code is prohibited because it may pose a security risk.
Causes
The error can be caused by:
Enabling code execution permission control in the software stack in the operating system. Attempts to allow such execution are logged in the audit log, and the error occurs if the software attempts to set the execution permission flag on a memory area (for example, by executing the mprotect() system call).
An error in the software that sets the library as requiring an executable stack. This may be due to an error in the software version or an error in the build.
wiki.astralinux.ru
sourceforge.net
Solution
To resolve the error, it is recommended to:
If possible, avoid using the software that generates the error as it may be potentially unsafe. Contact the software developers to improve the software and eliminate potentially unsafe actions.
Disable the control of code execution permission in the software stack in the operating system if necessary, but the software generates an error. To do this, follow these steps:
Add the kernel parameter parsec.execstack with a value of 1 to the parameter value string.