This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Symbol Lookup Error after upgrade to Kubuntu Karmic

Tags: None
(comma "," separated)
User avatar
Batmobilly666
Registered Member
Posts
6
Karma
0
OS
I just upgraded from Kubuntu Hardy to Karmic and Amarok stopped working. When trying to start via console, I get this error:

Code: Select all
amarok: symbol lookup error: /usr/lib/libamaroklib.so.1: undefined symbol: _ZTIN6TagLib3MP44FileE


Is this a problem with taglib? I've got version "1.6-2ubuntu2". I tried reinstalling both amarok and taglib but to no avail.

Thanks in advance.


The shortest unit of time in the multiverse is the New York Second, defined as the period of time between the traffic lights turning green and the cab behind you honking.
- Pratchett
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
I don't think so, since I have the same version here and everything works fine.

You should try with a blank installation, e.g. moving the folder
~.kde/share/apps/amarok/

and the configuration files:
~.kde/share/config/amarok*

Keep those as backups, since the first contains the collection and all your statistics.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
Batmobilly666
Registered Member
Posts
6
Karma
0
OS
I tried that but it still gives me the same error.


The shortest unit of time in the multiverse is the New York Second, defined as the period of time between the traffic lights turning green and the cab behind you honking.
- Pratchett
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
OK, so you can't start it at all? Could you please try with a new user, just to rule out it's not some configuration file that causes trouble?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
MoDaX
Registered Member
Posts
241
Karma
0
OS
Please post output of:

Code: Select all
ldd /usr/bin/amarok
User avatar
Batmobilly666
Registered Member
Posts
6
Karma
0
OS
Mamarok wrote:OK, so you can't start it at all?

Yes.

Mamarok wrote:Could you please try with a new user, just to rule out it's not some configuration file that causes trouble?

Same error.


MoDaX wrote:Please post output of:

Code: Select all
ldd /usr/bin/amarok


Code: Select all
benjamin@localhost:~$ ldd /usr/bin/amarok
        linux-gate.so.1 =>  (0x0021d000)
        libkdeui.so.5 => /usr/lib/libkdeui.so.5 (0x00afa000)
        libamaroklib.so.1 => /usr/lib/libamaroklib.so.1 (0x0021e000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00e8c000)       
        libkdecore.so.5 => /usr/lib/libkdecore.so.5 (0x0368d000)   
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x04ca4000)     
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00110000)     
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x0091a000)     
        libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x007dc000)       
        libSM.so.6 => /usr/lib/libSM.so.6 (0x00202000)             
        libICE.so.6 => /usr/lib/libICE.so.6 (0x0082f000)           
        libX11.so.6 => /usr/lib/libX11.so.6 (0x05d2f000)           
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x0084a000)       
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x0826e000)
        libXtst.so.6 => /usr/lib/libXtst.so.6 (0x0020b000)         
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00211000)   
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x0088d000)     
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00893000)   
        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0x00a5e000)     
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x0089d000)     
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x008c3000)           
        libkutils.so.4 => /usr/lib/libkutils.so.4 (0x04bf7000)     
        libkhtml.so.5 => /usr/lib/libkhtml.so.5 (0x03ac7000)       
        libkfile.so.4 => /usr/lib/libkfile.so.4 (0x08170000)       
        libthreadweaver.so.4 => /usr/lib/libthreadweaver.so.4 (0x008e1000)
        libknewstuff2.so.4 => /usr/lib/libknewstuff2.so.4 (0x0313f000)   
        libphonon.so.4 => /usr/lib/libphonon.so.4 (0x06e8f000)           
        libplasma.so.3 => /usr/lib/libplasma.so.3 (0x0617a000)           
        libsolid.so.4 => /usr/lib/libsolid.so.4 (0x0182a000)             
        libtag.so.1 => /usr/local/lib/libtag.so.1 (0x02ea5000)           
        libtag-extras.so.1 => /usr/lib/libtag-extras.so.1 (0x00ad0000)   
        libQtScript.so.4 => /usr/lib/libQtScript.so.4 (0x01c3d000)       
        libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x0189c000)             
        libQtWebKit.so.4 => /usr/lib/libQtWebKit.so.4 (0x01d58000)       
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x00add000)
        libamarokpud.so.1 => /usr/lib/libamarokpud.so.1 (0x018d9000)     
        libamarokocsclient.so.4 => /usr/lib/libamarokocsclient.so.4 (0x057a9000)
        libkio.so.5 => /usr/lib/libkio.so.5 (0x018ef000)                       
        libaudio.so.2 => /usr/lib/libaudio.so.2 (0x04f59000)                   
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x0323f000)                   
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x01b73000)             
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x08480000)       
        libz.so.1 => /lib/libz.so.1 (0x01bf2000)                               
        libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x043ae000)                 
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x07116000)         
        libXext.so.6 => /usr/lib/libXext.so.6 (0x04f33000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x06df2000)
        liblzma.so.0 => /usr/lib/liblzma.so.0 (0x01c08000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x008f4000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x01c2c000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x05d0e000)
        /lib/ld-linux.so.2 (0x008fd000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x008f8000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x02c1a000)
        libkparts.so.4 => /usr/lib/libkparts.so.4 (0x06d56000)
        libktexteditor.so.4 => /usr/lib/libktexteditor.so.4 (0x03280000)
        libkjs.so.4 => /usr/lib/libkjs.so.4 (0x02c38000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x02cda000)
        libgif.so.4 => /usr/lib/libgif.so.4 (0x04902000)
        libQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0x02cfe000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x02d8a000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x02f21000)
        libstreamanalyzer.so.0 => /usr/lib/libstreamanalyzer.so.0 (0x06ce1000)
        libacl.so.1 => /lib/libacl.so.1 (0x01c32000)
        libattr.so.1 => /lib/libattr.so.1 (0x032cf000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0x0393c000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00af6000)
        libpcre.so.3 => /lib/libpcre.so.3 (0x0457e000)
        libexpat.so.1 => /lib/libexpat.so.1 (0x02e32000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x088fa000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb68b8000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x05674000)
        libstreams.so.0 => /usr/lib/libstreams.so.0 (0x0743e000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x0412c000)


The shortest unit of time in the multiverse is the New York Second, defined as the period of time between the traffic lights turning green and the cab behind you honking.
- Pratchett
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
Batmobilly666 wrote:I just upgraded from Kubuntu Hardy to Karmic and Amarok stopped working. When trying to start via console, I get this error:

Code: Select all
amarok: symbol lookup error: /usr/lib/libamaroklib.so.1: undefined symbol: _ZTIN6TagLib3MP44FileE


Is this a problem with taglib? I've got version "1.6-2ubuntu2". I tried reinstalling both amarok and taglib but to no avail.

Thanks in advance.


You have two conflicting versions of TagLib installed. You need to get rid of the bad one (the one that comes with KDE), and instead use the special one for Amarok, with AAC and MP4 support.


--
Mark Kretschmann - Amarok Developer
MoDaX
Registered Member
Posts
241
Karma
0
OS
Batmobilly666 wrote:
Code: Select all
benjamin@localhost:~$ ldd /usr/bin/amarok
snip...
        libtag.so.1 => /usr/local/lib/libtag.so.1 (0x02ea5000)           
snip


Get rid of this.
User avatar
Batmobilly666
Registered Member
Posts
6
Karma
0
OS
markey wrote:You have two conflicting versions of TagLib installed. You need to get rid of the bad one (the one that comes with KDE), and instead use the special one for Amarok, with AAC and MP4 support.

Sounds good. How exactly do I do that? Where can I get that "special one"?


The shortest unit of time in the multiverse is the New York Second, defined as the period of time between the traffic lights turning green and the cab behind you honking.
- Pratchett
MoDaX
Registered Member
Posts
241
Karma
0
OS
Batmobilly666 wrote:
markey wrote:You have two conflicting versions of TagLib installed. You need to get rid of the bad one (the one that comes with KDE), and instead use the special one for Amarok, with AAC and MP4 support.

Sounds good. How exactly do I do that? Where can I get that "special one"?


You don't need to get anything. Actually, you should do a reverse to what markey suggested: just get rid of the library in /usr/local which I pointed you to earlier.

This is packages we are talking about. They typically work together (libtag1c2a and amarok) so in case of symbol lookup error like yours, there might be only two causes:

1) local version is used instead of packaged one (your case).
2) package dependencies are not strict enough (bug in packaging) and you have not upgraded fully .
User avatar
Batmobilly666
Registered Member
Posts
6
Karma
0
OS
That did it, thank you very much. ;D


The shortest unit of time in the multiverse is the New York Second, defined as the period of time between the traffic lights turning green and the cab behind you honking.
- Pratchett
User avatar
Batmobilly666
Registered Member
Posts
6
Karma
0
OS
Batmobilly666 wrote:That did it, thank you very much. ;D


Well... it works but as it turns out, the file is restored on reboot. Can I fix that somehow without deleting the file again and again?


The shortest unit of time in the multiverse is the New York Second, defined as the period of time between the traffic lights turning green and the cab behind you honking.
- Pratchett
MoDaX
Registered Member
Posts
241
Karma
0
OS
Batmobilly666 wrote:Well... it works but as it turns out, the file is restored on reboot. Can I fix that somehow without deleting the file again and again?

You gotta be kidding. I guess you are so confused that you don't know what you are doing. Let's start from the begging. What is the full path of "the file"?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Remove /usr/local/lib/libtag.so.1* instead of /usr/local/lib/libtag.so.1

You will probably remove the following:
/usr/local/lib/libtag.so.1
/usr/local/lib/libtag.so.1.0
/usr/local/lib/libtag.so.1.0.0


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
cerr
Registered Member
Posts
64
Karma
0
OS
So uhm what was the solution here?
I get following too:
Code: Select all
amarok: symbol lookup error: /usr/lib/libamaroklib.so.1: undefined symbol: _ZTIN6TagLib3MP44FileE
- I've removed the folders in ~/.kde/apps and config and i have purged and reinstalled amarok after removing /usr/lib/libamaroklib.so.1 but i still keep getting the same error :( What's going on ? Using Kubuntu Karmic.

Thanks everyone!


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]