Skip to content
Dec 7 / kkrizka

Amarok2 Sound-Engine Problems on Gentoo

I have been using the KDE4 desktop for some time now, and I am quite impressed with the features being added to it daily. I have installed it on my Gentoo machine using the SVN ebuilds available here. They fetch the latest SVN source code from the KDE servers, and compile that, so I am always up to date with the latest bug fixes and additions. The only problem I have so far is that some of the less standard applications that I use do not have SVN ebuild yet, so I have to search the forums or create them myself. One such application is Amarok, my music player of choice.

I am using a modified ebuild that I found in the official Gentoo KDE4 ebuild thread, which you can download here. It compiles perfectly, but when I try to run it I get the following error:

Amarok could not find any sound-engine plugins. Amarok is now updating the KDE configuration database. Please wait a couple of minutes, then restart Amarok.
If this does not help, it is likely that Amarok is installed under the wrong prefix, please fix your installation using:
$ cd /path/to/amarok/source-code/
$ su -c “make uninstall”
$ ./configure –prefix=`kde-config –prefix` && su -c “make install”
$ kbuildsycoca
$ amarok
More information can be found in the README file. For further assistance join us at #amarok on

Luckily there is a simple solution. It turns out that the directory where amarok installed the sound engines (/usr/share/kde4) is only readable by root. So any other user that tries to load amarok will the get error message, because he cannot open the sound engines. To fix this, just run the following commands:

su –
chmod -R a+rx /usr/share/kde4

That is it! Just start amarok again, and listen to your music!


Leave a comment
  1. Adam / Feb 27 2008

    Have you rewritten this ebuild for the kde 4.0.1 version now in portage?

    • Karol Krizka / Feb 27 2008

      I just use the Amarok ebuild that is provided with the kde layman repository.

Leave a comment