Invalid MEX-file '/home/sky​/frost-dev​/third/mat​hlink/math​.mexa64': libWSTP64i4.so: cannot open shared object file: No such file or directory

조회 수: 2 (최근 30일)
I have installed matlab2019a,mathematica12.1 and frost in ubuntu18.04,and my gcc version is 7.5,then I got the following error:
Invalid MEX-file '/home/sky/frost-dev/third/mathlink/math.mexa64': libWSTP64i4.so: cannot open shared object file
I added the path of the metioned library to the LD_LIBRARY_PATH,but it didn't work.
>> frost_addpath();
Warning: Name is nonexistent or not a directory: /home/sky/matlab/nlp
> In path (line 109)
In addpath (line 86)
In frost_addpath (line 11)
Warning: Name is nonexistent or not a directory: /home/sky/matlab/solver
> In path (line 109)
In addpath (line 86)
In frost_addpath (line 12)
Warning: Name is nonexistent or not a directory: /home/sky/matlab/system
> In path (line 109)
In addpath (line 86)
In frost_addpath (line 13)
Warning: Name is nonexistent or not a directory: /home/sky/matlab/control
> In path (line 109)
In addpath (line 86)
In frost_addpath (line 14)
Warning: Name is nonexistent or not a directory: /home/sky/matlab/robotics
> In path (line 109)
In addpath (line 86)
In frost_addpath (line 15)
Warning: Name is nonexistent or not a directory: /home/sky/matlab/utils
> In path (line 109)
In addpath (line 86)
In frost_addpath (line 17)
Warning: Name is nonexistent or not a directory: /home/sky/third
> In path (line 109)
In addpath (line 86)
In frost_addpath (line 23)
Warning: Name is nonexistent or not a directory: /home/sky/mathematica
> In path (line 109)
In addpath (line 86)
In frost_addpath (line 27)
Invalid MEX-file '/home/sky/frost-dev/third/mathlink/math.mexa64': libWSTP64i4.so: cannot open shared object file:
No such file or directory
Error in initialize_mathlink (line 8)
math('$Version')
Error in frost_addpath (line 28)
initialize_mathlink();

답변 (1개)

Stefanie Schwarz
Stefanie Schwarz 2023년 9월 26일
Sounds like a basic missing files/installation issue. Since FROST is a third-party product, I recommend reaching out to the authors of this toolbox.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by