libstdc++.so.6: __cxa_thread_atexit_impl: invalid needed version 54
33 ビュー (過去 30 日間)
古いコメントを表示
I got the error as show in my quesiton while I'm compling a fortran program on linux using matlab mex and libraries: libstdc++.so.6: __cxa_thread_atexit_impl: invalid needed version 54. Could some one help resolve this problem? Thank you!
0 件のコメント
採用された回答
Himanshu
2024 年 7 月 20 日
編集済み: Himanshu
2024 年 7 月 20 日
Hey Han,
I had faced a similar issue in the past, and this is how I resolved it:
The problem seems to be caused by an incompatibility between the operating system's "libstdc++" version and the version used by MATLAB. When starting MATLAB, use the following workaround. At a Bash shell prompt, type:
> LD_PRELOAD=matlabroot/bin/glnxa64/glibc-2.17_shim.so application
where matlabroot is the path to the MATLAB installation and application is the original command that generated the error message.
Hope this helps!
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!