Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
Error on Linux when attempting to execute a unixODBC command against the AcuXDBC driver:
"xvision.so: cannot restore segment prot after reloc: Permission denied"
The security for all directories and files involved has been set to 777 but the error persists.
This is caused by the kernel security extensions from the Security-Enhanced Linux (SELinux) project, which are enabled by default in some newer Linux distributions. SELinux enables finer-grained control over system security and shared library loading.
To resolve the error the xvision.so library must be registered in the security module using the chcon command:
chcon -t texrel_shlib_t xvision.so