ARM Technical Support Knowledge Articles

DS-5 applications fail to run on security enhanced Linux

Applies to: DS-5


Information in this knowledgebase article applies to:


Some DS-5 applications may fail to run on Linux when Security Enhanced Linux (SELinux) is enabled, as is the case by default on Red Hat Enterprise 5 and Fedora 10 systems, for example. When the failure occurs you may see the following error message when trying to run an application:

cannot restore segment prot after reloc: Permission denied


This error occurs because some of the shared libraries used by the applications require text relocation, but the SELinux policy on your computer prohibits this.


Change the SELinux policy for your applications and shared libraries to allow text relocation. This can be done by opening a super user account and modifying the execution context for the installation directory with the command:

chcon -R -t texrel_shlib_t installdir

Article last edited on: 2010-07-28 10:22:16

Rate this article

Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential