The very funny error below:

libpetsc.so: cannot restore segment prot after reloc: Permission denied

should NEVER occur if source code is correctly built (using -fPIC or
equivalent) and good programming practices are followed.

Can someone (Satish?) comment the specific scenario where this issue
arised? I believe it would be better not to depend on 'chcon' to get
things workig, but make sure all source code is compiled and written
as it should be. However, I believe this can still cause problems when
building a sharedlib PETSc with a staticlib pre-built external
package.



-- 
Lisandro Dalc?n
---------------
Centro Internacional de M?todos Computacionales en Ingenier?a (CIMEC)
Instituto de Desarrollo Tecnol?gico para la Industria Qu?mica (INTEC)
Consejo Nacional de Investigaciones Cient?ficas y T?cnicas (CONICET)
PTLC - G?emes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594


  • SELinux Lisandro Dalcin

Reply via email to