필터 지우기
필터 지우기

Has issue with libstdc++.so.6 been fixed?

조회 수: 38 (최근 30일)
Benjamin
Benjamin 2024년 4월 17일
댓글: Benjamin 2024년 9월 3일 11:07
I have the impression that the issue with libstdc++.so.6 has been fixed for recent MATLAB releases, because I cannot reproduce the problem anymore with MATLAB 9.14.0.2489007 (R2023a) Update 6. I'm using the procedure described in another question which is expected to produce the error.
I'm running the following command in MATLAB
spatial = py.importlib.import_module('scipy.spatial')
this works without any need for setting LD_PRELOAD in R2023a Update 6 on my system. Has the problem with libstdc++.so.6 been fixed recently?
For context: I'm actually investigating this issue, but I think this makes it much harder to reproduce the problem and I hope that falling back to importing scipy.spatial is a valid simplification.
  댓글 수: 2
Sven
Sven 2024년 9월 3일 8:32
Hi Benjamin,
i'm using the R2024a Version an still encounter this issue. I run MATLAB on a Linux system (Ubuntu 22.04.2). Since this problem may depent on the operating system your'e using, may i ask you what kind of OS you're using?
Benjamin
Benjamin 2024년 9월 3일 11:07
Hi Sven,
I was still using Ubuntu 20.04.x when I posted this questions if I remember correctly (not sure about the last digit of the version). I've moved to Ubuntu 24.04 in the meantime but did not install MATLAB yet on my new system yet.

댓글을 달려면 로그인하십시오.

답변 (1개)

Abhishek Chakram
Abhishek Chakram 2024년 5월 6일
Hi Benjamin,
In the past, MATLAB users frequently encountered issues when trying to use Python functionalities that depended on newer C++ libraries, due to MATLAB's reliance on an older version of “libstdc++.so.6”. This is a known issue for MATLAB as there were similar questions before which were answered by MathWorks’s staff. So, this is a strong indication that MATLAB has improved its handling of system libraries, particularly “libstdc++.so.6”.
I hope this helps!

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by