digikam does not start: missing shared library

Bug #985859 reported by Marco Nolden
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
digikam (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On current precise beta digikam fails to start:

$ digikam
digikam: error while loading shared libraries: libOpenNI.so: cannot open shared object file: No such file or directory

$ lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

$ apt-cache policy digikam
digikam:
  Installed: 4:2.5.0-1ubuntu2
  Candidate: 4:2.5.0-1ubuntu2
  Version table:
 *** 4:2.5.0-1ubuntu2 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

What is the output of running the command 'which digikam'?

Revision history for this message
Marco Nolden (marco-n) wrote :

$ which digikam
/usr/bin/digikam

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

How about the output of 'ldd digikam'? I suspect you may have a locally-built instance of digikam installed.

Revision history for this message
Marco Nolden (marco-n) wrote :
Download full text (13.6 KiB)

I used to have a version from a PPA. After the upgrade I reinstalled it completely. Maybe it's still some library from this PPA that has the missing dependency but I wonder why it was not replaced by the official precise version. All PPAs on my system are currently deactivated.

$ ldd /usr/bin/digikam
 linux-vdso.so.1 => (0x00007fff795ff000)
 libQtSql.so.4 => /usr/lib/x86_64-linux-gnu/libQtSql.so.4 (0x00007faf0dfa4000)
 libkparts.so.4 => /usr/lib/libkparts.so.4 (0x00007faf0dd51000)
 libphonon.so.4 => /usr/lib/x86_64-linux-gnu/libphonon.so.4 (0x00007faf0dae0000)
 libkhtml.so.5 => /usr/lib/libkhtml.so.5 (0x00007faf0d15f000)
 libknotifyconfig.so.4 => /usr/lib/libknotifyconfig.so.4 (0x00007faf0cf4c000)
 libsolid.so.4 => /usr/lib/libsolid.so.4 (0x00007faf0cc57000)
 libkface.so.1 => /usr/lib/libkface.so.1 (0x00007faf0ca32000)
 libkgeomap.so.1 => /usr/lib/libkgeomap.so.1 (0x00007faf0c7dc000)
 libkipi.so.8 => /usr/lib/libkipi.so.8 (0x00007faf0c5c2000)
 libkexiv2.so.10 => /usr/lib/libkexiv2.so.10 (0x00007faf0c336000)
 libkdcraw.so.20 => /usr/lib/libkdcraw.so.20 (0x00007faf0c055000)
 liblcms.so.1 => /usr/lib/x86_64-linux-gnu/liblcms.so.1 (0x00007faf0be1d000)
 libdigikamcore.so.2 => /usr/lib/libdigikamcore.so.2 (0x00007faf0b6c5000)
 libdigikamdatabase.so.2 => /usr/lib/libdigikamdatabase.so.2 (0x00007faf0b2c2000)
 libgphoto2_port.so.0 => /usr/lib/x86_64-linux-gnu/libgphoto2_port.so.0 (0x00007faf0b0b8000)
 libgphoto2.so.2 => /usr/lib/x86_64-linux-gnu/libgphoto2.so.2 (0x00007faf0ae39000)
 libQt3Support.so.4 => /usr/lib/x86_64-linux-gnu/libQt3Support.so.4 (0x00007faf0a95e000)
 libkio.so.5 => /usr/lib/libkio.so.5 (0x00007faf0a4a7000)
 libQtXml.so.4 => /usr/lib/x86_64-linux-gnu/libQtXml.so.4 (0x00007faf0a264000)
 libkdeui.so.5 => /usr/lib/libkdeui.so.5 (0x00007faf09bfb000)
 libQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007faf08f2c000)
 libkdecore.so.5 => /usr/lib/libkdecore.so.5 (0x00007faf08a5a000)
 libQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007faf08588000)
 libQtDBus.so.4 => /usr/lib/x86_64-linux-gnu/libQtDBus.so.4 (0x00007faf0830a000)
 libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007faf0800a000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007faf07d10000)
 libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007faf07af9000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faf0773c000)
 libnepomuk.so.4 => /usr/lib/libnepomuk.so.4 (0x00007faf07462000)
 libnepomukutils.so.4 => /usr/lib/libnepomukutils.so.4 (0x00007faf07226000)
 libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007faf06fde000)
 libpulse-mainloop-glib.so.0 => /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0 (0x00007faf06dd9000)
 libktexteditor.so.4 => /usr/lib/libktexteditor.so.4 (0x00007faf06b98000)
 libkjs.so.4 => /usr/lib/libkjs.so.4 (0x00007faf068c9000)
 libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007faf0667a000)
 libgif.so.4 => /usr/lib/x86_64-linux-gnu/libgif.so.4 (0x00007faf06470000)
 libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007faf06248000)
 libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007faf06031000)
 libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x0000...

Revision history for this message
Marco Nolden (marco-n) wrote :

Ok, since this seems to be a local problem I guess it is not a digikam bug. I found some instructions how to force all packages back to their "official" version and I assume this will make digikam work again.

Changed in digikam (Ubuntu):
status: New → Invalid
Revision history for this message
Andreas Ermler (aermler) wrote :

Did you find a solution? I have the same problem.

Revision history for this message
Marco Nolden (marco-n) wrote :

It was caused by some leftover packages from a PPA (ppa:philip5/extra) This PPA doesn't have any 12.04 builds yet so these old libraries got mixed with the digikam from 12.04.
To solve it I removed all local or obsolete packages in synaptic (Status tab).

Revision history for this message
Kev Walke (kelvinelk) wrote :

I had this problem, and just to note I got lucky and did not uninstall everything from "local or obsolete packages" in synaptic, I just deleted the libopencv* packages and this fixed it up without having to re-install all the other stuff I actually wanted from within that filter.

Revision history for this message
Andreas Ermler (aermler) wrote :

Great, that worked, thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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