I tried to run a compiled matlab code which gave me the following error:
.....libmwmclmcr.so Error: libXp.so.6: cannot open shared object file: No such file or directory
I found here that newer versions of ubuntu don't have libXp.so.6
, so I decided to install it from here.
To check this I ran locate libXp.so.6
giving me:
/usr/lib/i386-linux-gnu/libXp.so.6
/usr/lib/i386-linux-gnu/libXp.so.6.2.0
This seemed to look good, however when I run the code again I still have the same error. Similarly when I call ldd /home/rick/Desktop/tico/tico/v74/bin/glnx86/libmwmclmcr.so
:
.....
libICE.so.6 => not found
libSM.so.6 => not found
libXp.so.6 => not found
libXt.so.6 => not found
.....
I can't figure out why it is installed but libmwmclmcr.so
cannot locate it?
V74
folder) I findglnx86
so I think it is 32-bit – CodeNoob May 22 '19 at 23:10libXp.so.6
But I installed thei386
version so that should be 32 hmmm – CodeNoob May 22 '19 at 23:39/lib32
rather than/usr/lib/i386-linux-gnu
I think – steeldriver May 22 '19 at 23:42sudo apt-get install libxp6:i386
however when I run the code it now says:libXt.so.6: wrong ELF class: ELFCLASS64
. My system architecture isamd64
though – CodeNoob May 22 '19 at 23:49tico
? How we can download it to reproduce the problem? What is your Ubuntu version? – N0rbert May 23 '19 at 08:25