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

symbol lookup error

Tags: None
(comma "," separated)
bengbers
Registered Member
Posts
21
Karma
0
OS

symbol lookup error

Wed Feb 27, 2013 12:06 am
I am running Fedora 17 on a Samsung NC110 (kernel: 3.7.9-101.fc17.x86_64)
My regular desktop is Gnome but I use several kde-applications.

I tried to install skype-4.1.0-20 with rpm but installation failed because of several missing dependencies.
Installation with 'yum localinstall skype-4.1.0.20-fedora.i586.rpm' was successful (some 30 missing dependencies were solved) but now all the kde-applications I use regularly have stopped functioning.

Any attempt to start kate &, smb4k & or kpat & fails with:
kate: symbol lookup error: /lib64/libQtGui.so.4: undefined symbol: _ZN27QEventDispatcherUNIXPrivate16initThreadWakeUpEv
smb4k: symbol lookup error: /lib64/libQtGui.so.4: undefined symbol: _ZN27QEventDispatcherUNIXPrivate16initThreadWakeUpEv

I guess that kde now tries to use the 32-bit version instead of the 64-bit version but I don't know how to correct this.

Any suggestion?

Ben
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: symbol lookup error

Wed Feb 27, 2013 1:07 am
To me it more looks like installing skype updated Qt but not the kde apps that links against it. Did you try to reinstall all the KDE apps?

It's not using the 32 bit version of Qt, look, the path even contains /lib64. ;)


I'm working on the KDevelop IDE.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: symbol lookup error

Wed Feb 27, 2013 2:44 am
Based on the name of the involved Qt class "QEventDispatcherUNIXPrivate", I would say you have non-matching versions of Qt Core and Qt Gui. Please ensure that the versions present of both libraries are the newest available.

I suspect the Skype installation has either downgraded Qt Core or upgraded Qt Gui without changing the other.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
bengbers
Registered Member
Posts
21
Karma
0
OS

Re: symbol lookup error

Wed Feb 27, 2013 1:06 pm
I now have two solutions offered (but any help with the commands that I have to use is appreciated :) ).

Which one is the most safe to use?

Ben
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: symbol lookup error

Wed Feb 27, 2013 1:25 pm
Try updating all KDE and Qt packages in YaST. That's probably more than you would have to do, but I'm quite sure it will fix the problem.


I'm working on the KDevelop IDE.
bengbers
Registered Member
Posts
21
Karma
0
OS

Re: symbol lookup error

Wed Feb 27, 2013 10:24 pm
scummos wrote:Try updating all KDE and Qt packages in YaST. That's probably more than you would have to do, but I'm quite sure it will fix the problem.


YaST is something from Suse. Running Gnome, I can use (and already did use) gpk-update-viewer to see if any packages should be updated. But afaik it is not possible to reinstall of refresh named packages. In any case, it didn't help.

Therefore it's still the question: what are the commands that I have to us to either reinstall kde and its applications or otherwise refresh the Qt-stuff
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: symbol lookup error

Wed Feb 27, 2013 10:45 pm
Oh, I confused yum and zypper. I'm sorry. I was reading yum and I assumed you ran SuSE, which was stupid of course since it's clearly Fedora. ;)

For a start, try "yum install kate" and see if kate works again.


I'm working on the KDevelop IDE.
bengbers
Registered Member
Posts
21
Karma
0
OS

SOLVED Re: symbol lookup error  Topic is solved

Sun Mar 03, 2013 9:35 pm
I tried to first un-install kdesdk and kdegames and then re-install both packages but that didn't help.

Then I recalled that in my first attempt to resolve the missing dependencies, I had manually installed a qt47-package.

After removing that package (rpm -e qt47) everything now works fine again.

I don't know if it has other advantages, but I have learned that on Fedora in the case of missing dependencies, it is safer to first download the rpm and then run yum localinstall *.rpm
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: symbol lookup error

Mon Mar 04, 2013 7:32 am
I've now marked this as solved.

This issue was probably caused by the qt47 package taking over the symlink associations for certain Qt libraries, in effect creating a situation where you had a "mixed Qt installation" with various parts belonging to different versions of Qt. This scenario is not supported (all parts of Qt must be from the same version of Qt).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]