Error while loading shared libraries

Bug #1639300 reported by Bruno COTTERET
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned
inkscape (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi

I can't run Inskcape 0.91
Installation was fine :
$ apt-cache policy inkscape
inkscape:
  Installed: 0.91-7ubuntu2
  Candidate: 0.91-7ubuntu2
  Version table:
 *** 0.91-7ubuntu2 500
        500 http://fr.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

A library seems to be missing when launching:

inkscape: error while loading shared libraries: libIlmImf.so.6: cannot open shared object file: No such file or directory

Running Ubuntu 16.04 xenial
4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ ldd $(which inkscape)
linux-vdso.so.1 => (0x00007ffc0e9ba000)
 libgtkspell.so.0 => /usr/lib/libgtkspell.so.0 (0x00007f801bbbb000)
 libgtkmm-2.4.so.1 => /usr/lib/x86_64-linux-gnu/libgtkmm-2.4.so.1 (0x00007f801b598000)
 libatkmm-1.6.so.1 => /usr/lib/x86_64-linux-gnu/libatkmm-1.6.so.1 (0x00007f801b34d000)
 libgdkmm-2.4.so.1 => /usr/lib/x86_64-linux-gnu/libgdkmm-2.4.so.1 (0x00007f801b100000)
 libpangomm-1.4.so.1 => /usr/lib/x86_64-linux-gnu/libpangomm-1.4.so.1 (0x00007f801aed3000)
 libgtk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x00007f801a887000)
 libgdk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 (0x00007f801a5d2000)
 libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f801a3c5000)
 libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f801a1a2000)
 libgc.so.1 => /usr/lib/x86_64-linux-gnu/libgc.so.1 (0x00007f8019f31000)
 libcairomm-1.0.so.1 => /usr/lib/x86_64-linux-gnu/libcairomm-1.0.so.1 (0x00007f8019d0d000)
 libgiomm-2.4.so.1 => /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1 (0x00007f8019968000)
 libglibmm-2.4.so.1 => /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1 (0x00007f80196ef000)
 libgsl.so.19 => /usr/lib/x86_64-linux-gnu/libgsl.so.19 (0x00007f80192b0000)
 libgslcblas.so.0 => /usr/lib/x86_64-linux-gnu/libgslcblas.so.0 (0x00007f8019071000)
 libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f8018e4c000)
 libxslt.so.1 => /usr/lib/x86_64-linux-gnu/libxslt.so.1 (0x00007f8018c0f000)
 libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f8018854000)
 libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f801863e000)
 libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f80183f2000)
 libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f80181ae000)
 libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f8017fa8000)
 libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8017d8e000)
 libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007f8017b6b000)
 libpopt.so.0 => /lib/x86_64-linux-gnu/libpopt.so.0 (0x00007f801795f000)
 libaspell.so.15 => /usr/lib/x86_64-linux-gnu/libaspell.so.15 (0x00007f80176b5000)
 libgnomevfs-2.so.0 => /usr/lib/x86_64-linux-gnu/libgnomevfs-2.so.0 (0x00007f801744b000)
 libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f80171a1000)
 libwpg-0.3.so.3 => /usr/lib/x86_64-linux-gnu/libwpg-0.3.so.3 (0x00007f8016f85000)
 libvisio-0.1.so.1 => /usr/lib/x86_64-linux-gnu/libvisio-0.1.so.1 (0x00007f8016cea000)
 libcdr-0.1.so.1 => /usr/lib/x86_64-linux-gnu/libcdr-0.1.so.1 (0x00007f8016a4f000)
 librevenge-0.0.so.0 => /usr/lib/x86_64-linux-gnu/librevenge-0.0.so.0 (0x00007f8016827000)
 librevenge-stream-0.0.so.0 => /usr/lib/x86_64-linux-gnu/librevenge-stream-0.0.so.0 (0x00007f8016608000)
 libMagick++-6.Q16.so.5 => /usr/lib/x86_64-linux-gnu/libMagick++-6.Q16.so.5 (0x00007f8016389000)
 libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f801604f000)
 libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f8015df5000)
 liblcms2.so.2 => /usr/lib/x86_64-linux-gnu/liblcms2.so.2 (0x00007f8015b9e000)
 libpoppler.so.58 => /usr/lib/x86_64-linux-gnu/libpoppler.so.58 (0x00007f8015720000)
 libpoppler-glib.so.8 => /usr/lib/x86_64-linux-gnu/libpoppler-glib.so.8 (0x00007f80154c7000)
 libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f8015274000)
 libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f8014f63000)
 libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f8014c4e000)
 libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f80148cc000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f80145c3000)
 libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f80143ac000)
 libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f801418f000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8013dc6000)
 libenchant.so.1 => /usr/lib/x86_64-linux-gnu/libenchant.so.1 (0x00007f8013bb9000)
 libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007f8013994000)
 libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f801378f000)
 libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f8013589000)
 libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f8013201000)
 libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f8012ff6000)
 libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f8012df3000)
 libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f8012be2000)
 libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f80129d7000)
 libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f80127cd000)
 libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007f80125ca000)
 libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f80123c6000)
 libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f80121b4000)
 libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8011faf000)
 /lib64/ld-linux-x86-64.so.2 (0x0000560f4457b000)
 libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55 (0x00007f8011c1b000)
 liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f80119f8000)
 libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f801179a000)
 libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007f8011591000)
 libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f8011367000)
 libgconf-2.so.4 => /usr/lib/x86_64-linux-gnu/libgconf-2.so.4 (0x00007f8011138000)
 libdbus-glib-1.so.2 => /usr/lib/x86_64-linux-gnu/libdbus-glib-1.so.2 (0x00007f8010f10000)
 libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f8010cc4000)
 libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f8010994000)
 libavahi-glib.so.1 => /usr/lib/x86_64-linux-gnu/libavahi-glib.so.1 (0x00007f801078f000)
 libavahi-common.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-common.so.3 (0x00007f8010583000)
 libavahi-client.so.3 => /usr/lib/x86_64-linux-gnu/libavahi-client.so.3 (0x00007f8010372000)
 libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f8010156000)
 libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f800ff53000)
 libwpd-0.10.so.10 => /usr/lib/x86_64-linux-gnu/libwpd-0.10.so.10 (0x00007f800fcc5000)
 libicui18n.so.55 => /usr/lib/x86_64-linux-gnu/libicui18n.so.55 (0x00007f800f863000)
 libMagickCore-6.Q16.so.2 => /usr/local/lib/libMagickCore-6.Q16.so.2 (0x00007f800f1a1000)
 libMagickWand-6.Q16.so.2 => /usr/local/lib/libMagickWand-6.Q16.so.2 (0x00007f800ee80000)
 libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f800ec5e000)
 libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f800e9eb000)
 libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f800e7e2000)
 libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f800e572000)
 libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f800e2c9000)
 libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f800e0c5000)
 libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f800debb000)
 librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f800dcb2000)
 libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f800da90000)
 libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007f800bfd8000)
 libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f800bdb3000)
 libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007f800bbaa000)
 libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f800bb25000)
 libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f800b8c1000)
 libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x00007f800b68d000)
 libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f800b47a000)
 libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007f800b244000)
 libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4 (0x00007f800b010000)
 libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f800ad90000)
 libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f800ab81000)
 liblqr-1.so.0 => /usr/lib/x86_64-linux-gnu/liblqr-1.so.0 (0x00007f800a969000)
 libdjvulibre.so.21 => /usr/lib/x86_64-linux-gnu/libdjvulibre.so.21 (0x00007f800a5c5000)
 libwmflite-0.2.so.7 => /usr/lib/x86_64-linux-gnu/libwmflite-0.2.so.7 (0x00007f800a3a5000)
 libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f800a195000)
 libIlmImf.so.6 => not found
 libgvc.so.6 => /usr/lib/libgvc.so.6 (0x00007f8009ef9000)
 libcgraph.so.6 => /usr/lib/libcgraph.so.6 (0x00007f8009ce4000)
 libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f8009adf000)
 libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f80098d9000)
 libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f80095f7000)
 libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 (0x00007f80093ed000)
 libcdt.so.5 => /usr/lib/libcdt.so.5 (0x00007f80091e5000)
 libpathplan.so.4 => /usr/lib/libpathplan.so.4 (0x00007f8008fdd000)
 libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f8008dc9000)

Any idea ?
Regards

Tags: xenial
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!

Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

As this seems like some sort of issue with the way Ubuntu handles libraries I'm closing this issue for upstream Inkscape. Please comment or reopen this if this is indeed incorrect. Thank you!

Changed in inkscape:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.