The Sage README.txt contains the text:

"On Linux, if you get this error message:

    " restore segment prot after reloc: Permission denied "

the problem is probably related to SELinux."

I got this error on a machine on which I don't have root access, so I
couldn't try the suggested workarounds. Searching the Internet, I
decided that this might have something to do with the -fPIC compiler
option, so I changed the PARI spkg to make sure that PARI compiled with
-fPIC, and this fixed the problem. (I didn't save the original error
message, but it mentioned libpari-gmp.)

Should PARI always be compiled with -fPIC? (Should I really be asking
this question to PARI developers who decided not to use PIC?) I don't
know much about this, but apparently -fPIC might cause some slowdown on
some systems. It seems that just about everything else in Sage is
compiled to be position independent, though (at least, nothing else
causes this problem).

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to