vkrepo / MATLAB-NS3

MATLAB and NS3 co-simulation
GNU General Public License v2.0
70 stars 28 forks source link

libmexNs3State.so: cannot open shared object file: No such file or directory #1 #4

Closed WryaM1 closed 3 years ago

WryaM1 commented 3 years ago

First thanks to vkrepo for sharing this work. I found that this issue was closed but it took me some days to solve it and wanted to share it. For me the following command line solved the problem under Linux Ubuntu 20.04:

$ env LD_LIBRARY_PATH=$HOME//MATLAB-NS3-master/ns-allinone-3.29/ns-3.29/build/lib /usr/MATLAB/R2018a/bin/matlab

where in fact the path LD_LIBRARY_PATH is assigned before launching the matlab application.

vkrepo commented 3 years ago

Thanks for sharing the solution. Might be useful for others too...