Bukida Posted June 26, 2012 Report Share Posted June 26, 2012 Hola Necesito correr matlab pero al parecer SElinux bloquea una libreria o biblioteca, miren: [root@pc-24-206-215-201 ROACH]# sh /usr/local/matlab/bin/matlab/usr/local/matlab/bin/glnxa64/MATLAB: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory Esto hice para que los permisos de memoria que SELinux niega execmod: [root@pc-24-206-215-201 ROACH]# /usr/sbin/semanage fcontext -a -t textrel_shlib_t '/usr/local/matlab/bin/glnxa64/MATLAB' libsepol.sepol_context_from_string: malformed context "/lib64/libc.so.6"libsepol.sepol_context_from_string: could not construct context from stringlibsemanage.fcontext_parse: invalid security context "/lib64/libc.so.6" (/etc/selinux/targeted/modules/tmp//file_contexts.local: 5)/lib64/x86_64-linux-gnu/libc-2.13.so /lib64/libc.so.6 system_u:object_r:textrel_shlib_t:s0libsemanage.fcontext_parse: could not parse file context recordlibsemanage.dbase_file_cache: could not cache file databaselibsemanage.enter_rw: could not enter read-write section/usr/sbin/semanage: Could not add file context for /usr/local/matlab/bin/glnxa64/MATLAB alguien sabe como ayudar a correr matlab. Saludos y Gracias Link to comment Share on other sites More sharing options...
Rewrite Posted June 27, 2012 Report Share Posted June 27, 2012 primero busca la librería libc.so.6locate libc.so.6si muestra en alguna ubicación haz un link simbólico de esta librería hacia la carpeta /usr/local/matlab/bin/glnxa64/MATLABsi no la tienes instala el paquete glibc Link to comment Share on other sites More sharing options...
Bukida Posted July 9, 2012 Author Report Share Posted July 9, 2012 al final era la libreria libXp, se soluiciona con: yum install libXp./matlab listo! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now