Issue with MATLAB install: ibmwfoundation_crash_handling.so: cannot enable executable stack as shared object requires: Invalid argument: Success: Success
Respuesta aceptada
Más respuestas (4)
1 voto
6 comentarios

0 votos
0 votos
4 comentarios
1 comentario
The Arch docs imply that R2025a fixes this, which seems likely. To solve the issue for all users on the system, you can run as root
execstack -c /home/*/.MathWorks/ServiceHost/-mw_shared_installs/*/bin/glnxa64/libmwfoundation_crash_handling.so
If you need to handle routinely adding new users, and/or make this solution last through an update to the service host, you can add that command to some of the various scripts which are run when new users are created. Or even just make it a cron job/systemd timer.
I suppose you can also globally change the override tunable glibc.rtld.execstack to be 2, force-enabling an executable stack. This is definitely not great for security, though.
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!