Notice: taglib-extras required

Mark Kretschmann kretschmann at kde.org
Sat Mar 21 12:35:54 UTC 2009


On Sat, Mar 21, 2009 at 1:09 PM, Andreas Pakulat <apaku at gmx.de> wrote:
> On 21.03.09 12:55:15, Mark Kretschmann wrote:
>> On Thu, Mar 19, 2009 at 3:19 PM, Jeff Mitchell <mitchell at kde.org> wrote:
>> > Taglib-Extras is now a required dependency of Amarok from SVN.  You can
>> > find it in the trunk/kdesupport/taglib-extras directory of KDE's SVN
>> > tree.  You will need to either build it yourself, or wait for packagers
>> > to come out with a package for it.
>>
>> Just a note for those of you installing Amarok and taglib-extras in
>> your $HOME: If you get linker errors while building Amarok, put this
>> (it works for me) in your .bashrc, or type it manually before
>> compiling ;)
>>
>> "export LD_LIBRARY_PATH=$HOME/kde/build/taglib-extras/taglib-extras"
>>
>>
>> PS:
>> I'm still hoping that it might be possible to fix our CMake scripts to
>> make this step unnecessary, but I don't know how. Any CMake experts
>> here? Please speak up now! ;)
>
> Are the errors about libraries that taglib-extras links against or from
> amarok code missing taglib-extras? Usually KDE apps automatically set
> rpath on their binary (because FindKDE4Internal.cmake sets a cmake flag
> to always use rpath), so the export above shouldn't be necessary as long
> as CMake knows the proper absolute path to the taglib-extras library
> when building amarok.
>
> I'm currently rebuilding all of kde4 so should see this soon myself as
> well. At least I can't see any obvious errors from a quick look through
> amarok's CMakeLists.txt or the FindTagLib-Extras.cmake module.

Here is the linker error I get when building Amarok without setting
$LD_LIBRARY_PATH:


/usr/bin/ld: warning: libtag-extras.so.0, needed by
../lib/libamaroklib.so.1.0.0, not found (try using -rpath or
-rpath-link)
../lib/libamaroklib.so.1.0.0: undefined reference to `vtable for
AudibleFileTypeResolver'
../lib/libamaroklib.so.1.0.0: undefined reference to `vtable for
RealMediaFileTypeResolver'
../lib/libamaroklib.so.1.0.0: undefined reference to
`TagLib::MP4::Item::operator=(TagLib::MP4::Item const&)'
../lib/libamaroklib.so.1.0.0: undefined reference to
`TagLib::MP4::Item::~Item()'
../lib/libamaroklib.so.1.0.0: undefined reference to
`TagLib::MP4::Tag::itemListMap()'
../lib/libamaroklib.so.1.0.0: undefined reference to
`TagLib::MP4::Item::toIntPair() const'
../lib/libamaroklib.so.1.0.0: undefined reference to `vtable for
ASFFileTypeResolver'
../lib/libamaroklib.so.1.0.0: undefined reference to
`TagLib::MP4::Item::Item(TagLib::MP4::Item const&)'
../lib/libamaroklib.so.1.0.0: undefined reference to `typeinfo for
TagLib::MP4::File'
../lib/libamaroklib.so.1.0.0: undefined reference to `typeinfo for
TagLib::ASF::File'
../lib/libamaroklib.so.1.0.0: undefined reference to `vtable for
MP4FileTypeResolver'
../lib/libamaroklib.so.1.0.0: undefined reference to
`TagLib::ASF::Attribute::toString() const'
../lib/libamaroklib.so.1.0.0: undefined reference to
`TagLib::MP4::Item::toStringList() const'
../lib/libamaroklib.so.1.0.0: undefined reference to
`TagLib::MP4::Item::Item(int, int)'
../lib/libamaroklib.so.1.0.0: undefined reference to `TagLib::MP4::Item::Item()'
../lib/libamaroklib.so.1.0.0: undefined reference to
`TagLib::ASF::Tag::attributeListMap()'
../lib/libamaroklib.so.1.0.0: undefined reference to `vtable for
WavFileTypeResolver'
../lib/libamaroklib.so.1.0.0: undefined reference to
`TagLib::MP4::Item::Item(TagLib::StringList const&)'
collect2: ld returned 1 exit status
make[2]: *** [src/amarok] Error 1
make[1]: *** [src/CMakeFiles/amarok.dir/all] Error 2

-- 
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org



More information about the Amarok mailing list