Comment 1 for bug 1639300

Revision history for this message
Diego Solo (diegosolo) wrote :

Hi, I had the same problem and couldn't find the exact solution anywhere, so I'll post my solution here so anyone in the same situation can solve the problem too.

Apparently, something was wrong with my Ubuntu (18.04). I installed the OS and all the programs I use, but Inkscape would insist with the missing libsigc-2.0.so.0 problem. First I thought it was something in Inkscape so I let a few months pass as I didn't require Inkscape for work. But when I check again, after several updates, the problem was still present, so I started searching.

Long story short, some libraries where actually missing, despite all the packages containing them where installed (so "apt install [PACKAGE_NAME]" would say). So, the solution is to reinstall all the packages with missing files, like libsigc-2.0.so.0 which comes with the package libsigc++-2.0-0v5.

First, you need to know which libraries are missing. For this you can use the command:

ldd $(which inkscape) | grep "not found"

Then you have to find out, through an internet search, which packages that library comes with. Once you found it, you just need to reinstall the package with the following command:

sudo apt install --reinstall [PACKAGE_NAME]

In my case I had to run the following commands:

sudo apt install --reinstall libsigc++-2.0-0v5
sudo apt install --reinstall libatkmm-1.6-1v5
sudo apt install --reinstall libpangomm-1.4-1v5
sudo apt install --reinstall libcairomm-1.0-1v5

Good luck!