Segmentation Fault or "undefined symbol" error when using MATLAB Engine with RHEL or CentOS Linux
Show older comments
When I run this simple script using MATLAB Engine for Python on RHEL (or Centos) Linux, I get a Segmentation Fault. Sometimes, instead of a Segmentation fault, I get the following type of error: "libstdc++.so.6: undefined symbol: __cxa_thread_atexit_impl". These issues occur on the "import matlab.engine()" command.
import matlab.engine
eng=matlab.engine.start_matlab()
eng.sqrt(4.)
How can I fix these issues when using MATLAB Engine with RHEL 7 (or Centos 7) Linux?
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!