MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Installation error

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66645] Re: [mg66619] Installation error
  • From: Bruce Miller <brucem at wolfram.com>
  • Date: Thu, 25 May 2006 02:58:39 -0400 (EDT)
  • References: <200605240702.DAA08505@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On May 24, 2006, at 2:02 AM, Subbu wrote:

> Hi,
>
> While installing Mathematica ver 5.2 in Linux (FC4) It is giving the
> fallowing error.
>
> /usr/local/Wolfram/Mathematica/5.2/SystemFiles/Kernel/Binaries/Linux/ 
> MathKernel:
> error while loading shared libraries:
> /usr/local/Wolfram/Mathematica/5.2/SystemFiles/Libraries/Linux/ 
> libmkl.so:
> cannot restore segment prot after reloc: Permission denied
>
> In the process of installation it is not giving any warnings nothing.
> But in the end it is giving a fail message like this.
>
> I am installing form root accont only.
>
> Can any one help me.
>


This is happening due to SELinux settings in Fedora Core 4. There is a
Tech Support FAQ that explains how to resolve this problem:

http://support.wolfram.com/mathematica/systems/linux/general/ 
selinux.html

(text is below).

Bruce Miller
Technical Support
Wolfram Research, Inc.
support at wolfram.com
http://support.wolfram.com/


=====
What can I do when I receive the error message
    Cannot restore segment prot after reloc: Permission denied ?

The latest releases of Linux distributions incorporate the mandatory
access control architecture SELinux of the NSA into the Linux kernels.
More information on SELinux can be found at the following link:
     http://www.nsa.gov/selinux/info/faq.cfm

If you receive the error message
    Cannot restore segment prot after reloc: Permission denied
when launching Mathematica, this means the SELinux policy is enforced
and the security context of Mathematica libraries is not properly set.
To correct this issue, you will need to change the security context by
running the following command. You will need to be logged on as root
in order to do this.

chcon -c -v -R -u system_u -r object_r -t lib_t  
$InstallationDirectory/SystemFiles/Libraries/

Where $InstallationDirectory is the top level directory in which your
Mathematica installation.  The default value of $InstallationDirectory  
is
   /usr/local/Wolfram/Mathematica/5.2 for
Mathematica 5.2 for Linux.

=====


  • Prev by Date: Re: Interval[{a,b}]-Interval[{a,b}] = 0?
  • Next by Date: Re: Interval[{a,b}]-Interval[{a,b}] = 0?
  • Previous by thread: Installation error
  • Next by thread: Arabic display in Mathematica Mac OSX