Filter löschen
Filter löschen

Running executable (from packngo) results in "could not open library: libmwnetworkdevice.so"

28 Ansichten (letzte 30 Tage)
Hello all,
I'm trying to run a build Simulink file that uses the UDP receive block. I know that this block requires additional .dll library files (.so since I'm using Ubuntu) so I use the PackNGo function to create a zip. I place the extracted zip on another pc (using ssh commands) and try to run the executable as super user. The following error occurs:
"could not open library: libmwnetworkdevice.so"
Notice that the PC on which I try to run the executable does not have a MATLAB installation. I want to run the file without it.
The permissions for this file seems correct, I tried to copy the file to the folder where the executable is located but this does not change anything.
When I try to run the same file without the UDP Receive block it works properly. What could cause this and is there a solution to this problem?
thanks in advance

Antworten (1)

Rishabh Gupta
Rishabh Gupta am 14 Jan. 2019
Hi Joris,
Please first ensure that the file "libmwnetworkdevice.so" is on your computer. You should be able to find a copy of the file within your MATLAB root directory (e.g., <matlabroot>/bin/glnx86). The path of the MATLAB root directory can be obtained by typing
>> matlabroot
in the MATLAB Command Window. Once you have located the file, ensure that the path of this file is included as part of the LD_LIBRARY_PATH system environment variable. You should now be able to run the executable file.
  6 Kommentare
Jeremy Rutman
Jeremy Rutman am 28 Feb. 2024
That .so does indeed show up in a matlab linux install, putting it into /usr/lib allows the app to run.
Joseph
Joseph am 24 Jul. 2024 um 14:17
Jeremy,
Did you locate the "libmwnetworkdevice.so" in the folder location <matlabroot>/bin/glnx64? If so, I cannot seem to find it in this location. I am tackling the exact same issue with cross compilation and really do need to obtain the .so file.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by