|
i get this error when trying to compile 1.1-beta1 in fedora core 2:
app.cpp:299: error: `StringHandler' is not a class or namespace app.cpp:299: error: invalid base-class specification app.cpp: In member function `void App::applySettings(bool)': app.cpp:385: error: 'class TagLib::ID3v1::Tag' has no member named ' setStringHandler' make[4]: *** [app.o] Error 1 i compiled taglib-1.2 beforehand and installed it in my home dir. i have an older taglib in /usr, but i edited PATH and LD_LIBRARY_PATH in my .bash_profile to look in $HOME before looking in /usr. |
|
Very similaryly I get the following:
app.o(.text+0x22c8): In function `App::applySettings(bool)': : undefined reference to `TagLib::ID3v1::Tag::setStringHandler(TagLib::ID3v1::StringHandler const*)' app.o(.gnu.linkonce.r._ZTI18ID3v1StringHandler+0x8): undefined reference to `typeinfo for TagLib::ID3v1::StringHandler' collect2: ld returned 1 exit status make[4]: *** [amarokapp] Error 1 make[4]: Leaving directory `/home/spyderusa11/amarok-1.1-CVS/amarok/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/spyderusa11/amarok-1.1-CVS/amarok/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/spyderusa11/amarok-1.1-CVS/amarok' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/spyderusa11/amarok-1.1-CVS' make: *** [all] Error 2 I'm using SuSE 9.1 and the taglib and taglib-devel RPM's that came with it. Mike |
KDE Developer
|
spyderusa11 wrote:
It is due to a stale version of the TagLib library on your harddisk. You must remove all old copies of TagLib. [code:1] find / -name "fileref.h" [/code:1] should locate all instances of TagLib. Mind you, you could even have several copies hanging around in different folders. Happened to me too.
--
Mark Kretschmann - Amarok Developer |
|
Well... there was another version of taglib and I removed it. But I still get the same error. The logical thing to do would probably be get rid of the RPM and compile the source. But kdemultimedia and a few other RPM's depend on it so I'm not sure I wanna go through the hassle. Do you have any other suggestions?
Thanks, Mike |
|
Ok I left the taglib RPM alone and uninstalled the taglib-devel RPM. Then I compiled taglib from source. I'm sure it's a mess now, but more importantly, it worked. Thanks again for the help.
Mike |
|
|
|
I don get it to work that way, i sure ie removed all old taglib versions, compiled taglib 1.3 but i still get the stringhandler error
|
|
rpm ---rebuild-db did the job for me,now i able to install
|
Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]