lastfmlib 0.4.0 was released on the 28/11/2009. Importantly the library name changed in 0.3.1 and the latest MediaTomb svn requires it. Reproducible: Always
In portage.