Digikam Problem with KDE 4.3 beta 1

If you’re using the Kubuntu 4.3 beta 1 packages for Kubuntu Jaunty you’ll likely find that you suddenly can’t view your albums any more. I traced it down to the following error in my ~/.xsession-errors file:

Could not open library '/usr/lib/kde4/kio_digikamalbums.so'.
Cannot load library /usr/lib/kde4/kio_digikamalbums.so: (/usr/lib/libdigikamcore.so.1: undefined symbol: _ZN6Marble12MarbleWidget16addPlaceMarkDataERK7QStringS3_)

Basically Digikam needs recompiling against the version of Marble in KDE 4.3 to get its symbol names fixed. Doing it isn’t that hard, you need to do:

sudo apt-get build-dep digikam
apt-get source digikam
cd digikam-0.10.0
dpkg-buildpackage

Once that’s done (and it’ll take a while) you’ll have 3 new packages in the parent directory of digikam-0.10.0, the Digikam package, a package for showfoto and a package for Digikams debugging symbols. Just use “sudo dpkg -i ” to install them.

10 thoughts on “Digikam Problem with KDE 4.3 beta 1”

  1. There is another method though that means allowing digikam to rebuild the collection. Start digikam and go to Tools->Configure Digikam. Remove the “Local Collection” and add it again. It takes time to rebuild but it works thereafter.

  2. @Kanwar: didn’t work for me. Had to rebuild digikam as per Chris’ instructions.

    @Chris: that’s the second time you’ve saved me from not being able to use Digikam due to my own indiscriminate use of PPA repos. I hereby make a solemn promise to treat you to 2 nights of alcohol if I ever have the honor of meeting you 🙂

  3. @Chris: It appears that I cannot compile digikam as described. Here are the lines showing the error I get:

    — Found Threads: TRUE
    — Found Automoc4: /usr/bin/automoc4
    — Found Perl: /usr/bin/perl
    — Phonon includes NOT found!
    CMake Error at /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:63 (message):
    Phonon library or includes NOT found!
    Call Stack (most recent call first):
    /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:553 (find_package)
    /usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
    CMakeLists.txt:36 (FIND_PACKAGE)

    I have libphonon-dev and libqt4-phonon-dev installed. Any ideas?

  4. Both solutions didn’t work for me… Any ideas? I have KDE 4.3 beta 2, compiling worked, but I couldn’t install debugging symbols package…. I could install compiled digikam but it didn’t work – still albums with no photos. Readding gallery didn’t work. Updating from experimentall didn’t work – if anyone has any suggestions – very welcome.

Comments are closed.