Segmentation Fault or “undefined symbol” error when using MATLAB Engine with RHEL or CentOS Linux
When I run this simple script using MATLAB Engine for Python on RHEL (or Centos) Linux, I get a Segmentation Fault.
import matlab.engine
eng=matlab.engine.start_matlab()
eng.sqrt(4.)
Sometimes, instead of a Segmentation fault, I get the following type of error.
"libstdc++.so.6: undefined symbol: __cxa_thread_atexit_impl"
How can I fix these errors when using MATLAB Engine with RHEL 7 (or Centos 7) Linux?When I run this simple script using MATLAB Engine for Python on RHEL (or Centos) Linux, I get a Segmentation Fault.
import matlab.engine
eng=matlab.engine.start_matlab()
eng.sqrt(4.)
Sometimes, instead of a Segmentation fault, I get the following type of error.
"libstdc++.so.6: undefined symbol: __cxa_thread_atexit_impl"
How can I fix these errors when using MATLAB Engine with RHEL 7 (or Centos 7) Linux? When I run this simple script using MATLAB Engine for Python on RHEL (or Centos) Linux, I get a Segmentation Fault.
import matlab.engine
eng=matlab.engine.start_matlab()
eng.sqrt(4.)
Sometimes, instead of a Segmentation fault, I get the following type of error.
"libstdc++.so.6: undefined symbol: __cxa_thread_atexit_impl"
How can I fix these errors when using MATLAB Engine with RHEL 7 (or Centos 7) Linux? MATLAB Answers — New Questions