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

1 view (last 30 days)
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();

Answers (1)

Stefanie Schwarz
Stefanie Schwarz on 26 Sep 2023
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.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!