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