After a few hours trying it's finally solved. At least in my case.
My setup is:
- Slackware 13.0 64bit
- KDE 4.2.4
- digikam 1.0.0beta6
I've upgraded to KDE 4.3.3 lately, but Amarok (native KDE application) and Digikam (after recompilation) did't run afterwards.
Amarok said:
Code:
amarok: [ERROR!] Tried to perform escape() on uninitialized MySQL
amarok: [ERROR!] Tried to perform query on uninitialized MySQL
Digikam said:
Code:
digikam: ERROR: : couldn't create slave : Unable to create io-slave:
klauncher said: Unknown protocol 'digikamalbums'.
So I downgraded back to KDE 4.2.4. But Amarok and Digikam remained nonfunctional. Amarok crashed with Segmentation fault. Digikam with the same output as before. Solution was to
- remove old amarok configuration (amarokrc) in my home .kde/share/config folder (Amarok)
- add folder with digikam plugins in my .bash_profile file (Digikam)
Details:
- As user I ran commands:
Code:
cd ~/.kde/share/config
rm amarok*
- Steps depend on your configuration. First of all, I located digikam plugins folder. It's easily done with command. I searched files like
- kio_digikamalbums.so
- kio_digikamdates.so
- kio_digikamsearch.so
- kio_digikamtags.so
They all should reside in it. Mine digikam plugins folder is /usr/local/lib64/kde4. I checked if my plugins were read (touched by digikam when ran) by command
Code:
ls -ltu /path/to/your/digikam/plugins/folder
And they weren't indeed. Access time on kio_* files was older than current time. Voila'. Then I modified environment variables mentioned in digikam official svn install guide both in ~/.profile and ~/.bash_profile files, and restarted X11. Digikam finally showed all my pictures. You can also check again with that your plugins were read by digikam (access time is the same as current).
Variables set in .bash_profile:
Code:
export DIGIKAMDEST=/usr/local
export KDEDIRS="$DIGIKAMDEST:/usr"
export KDEHOME="/home/user/.kde"
export LD_LIBRARY_PATH="$DIGIKAMDEST/lib:$DIGIKAMDEST/lib64/kde4:$DIGIKAMDEST/lib64:$LD_LIBRARY_PATH"
export LDPATH="$DIGIKAMDEST/lib:$DIGIKAMDEST/lib64/kde4:$DIGIKAMDEST/lib64:$LD_LIBRARY_PATH"
export QTDIR="/usr/lib64/qt"
export QT_PLUGIN_PATH="/usr/lib64/kde4/plugins/"