I'm trying to install a CAN emulator software with GTK and I keep getting an error.
CANMate: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory
But when apt
says libgtk-3 is installed:
$ sudo apt install libgtk-3-0 libgtk-3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgtk-3-0 is already the newest version (3.22.30-1ubuntu1).
libgtk-3-dev is already the newest version (3.22.30-1ubuntu1).
And the shared lib can be found inside /usr/lib/x86_64-linux-gnu
.
$ ls | grep libgtk-3
libgtk-3-0
libgtk-3.so
libgtk-3.so.0
libgtk-3.so.0.2200.30
I think the installation file CANMatev1.3.deb
is failing to locate the shared lib
while installation.
Can you please, help me resolve this error?
sudo ldconfig
. The [list of] directories aren't searched, only the cache is. – guiverc Nov 08 '18 at 12:07sudo ldconfig
and tried reinstallingsudo dpkg -i <deb.name>
. But when I try calling program after the installation, it still sayslibgtk-3.so.0: cannot open shared object file
– clamentjohn Nov 08 '18 at 12:11dpkg -i
) shows the architecture as "all", the actualCANMate
application appears to be a 32-bit binary - hence you will likely need to enable multiarch and install thelibgtk-3-0:i386
package – steeldriver Nov 08 '18 at 12:27