qt4 apps doesn't start with symbol lookup error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Qt |
Invalid
|
Undecided
|
Unassigned | ||
qt4-x11 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: qt4-qtconfig
Hi,
I tried this morning to use qt4-qtconfig to configure some fonts but the sofware doesn't start and give this error message:
$ qtconfig-qt4
qtconfig-qt4: symbol lookup error: /usr/lib/
I tried to reinstall libqt4-qt3support but nothing change.

Nicolas Valcarcel (nvalcarcel) wrote : | #1 |
Changed in qt4-x11: | |
status: | New → Confirmed |

Jonathan Riddell (jr) wrote : | #2 |
I can't recreate this, what's the output of
apt-cache policy libqt4-core libqt4-gui

Nicolas Valcarcel (nvalcarcel) wrote : | #3 |
$ apt-cache policy libqt4-core libqt4-gui
libqt4-core:
Installed: 4.3.2-0ubuntu3.1
Candidate: 4.3.2-0ubuntu3.1
Version table:
*** 4.3.2-0ubuntu3.1 0
500 http://
100 /var/lib/
4.3.2-0ubuntu3 0
500 http://
libqt4-gui:
Installed: 4.3.2-0ubuntu3.1
Candidate: 4.3.2-0ubuntu3.1
Version table:
*** 4.3.2-0ubuntu3.1 0
500 http://
100 /var/lib/
4.3.2-0ubuntu3 0
500 http://
i also haven't kde installed, i use gnome

Jonathan Riddell (jr) wrote : | #4 |
This report is for gutsy, that wasn't clear before.
I still can't recreate it and neither can another tester. However it's being reported from multiple sources.

Jonathan Riddell (jr) wrote : | #5 |
Some other related issues:
http://
http://
https:/
http://
It's caused by Qt4 patch debian/

Jonathan Riddell (jr) wrote : | #6 |
Since there is an ABI change I can understand apps from outside our repository not building. I tested last.fm and skype and they both run fine against libqt4-core 4.3.2-0ubuntu3.1 from gutsy-updates.

Jonathan Riddell (jr) wrote : | #7 |
s/building/running/

Jonathan Riddell (jr) wrote : | #8 |
Has anyone built Qt 4 themselves?

Jonathan Riddell (jr) wrote : | #9 |
This has been confirmed with one reporter to be caused by nessus which installs its own copy of Qt4.

Jonathan Riddell (jr) wrote : | #10 |
Please paste the output of ldd /usr/bin/

Nicolas Valcarcel (nvalcarcel) wrote : | #11 |
$ ldd /usr/bin/lastfm
linux-gate.so.1 => (0xffffe000)
libLastFmTools
libQtXml.so.4 => /opt/nessus/
libQtGui.so.4 => /opt/nessus/
libQtNetwork.so.4 => /usr/lib/
libQtCore.so.4 => /opt/nessus/
libpthread.so.0 => /lib/tls/
libstdc++.so.6 => /usr/lib/
libm.so.6 => /lib/tls/
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7366000)
libc.so.6 => /lib/tls/
libz.so.1 => /usr/lib/libz.so.1 (0xb7207000)
libX11.so.6 => /usr/lib/
libgthread-
librt.so.1 => /lib/tls/
libglib-2.0.so.0 => /usr/lib/
libdl.so.2 => /lib/tls/
libpng12.so.0 => /usr/lib/
libSM.so.6 => /usr/lib/libSM.so.6 (0xb701b000)
libICE.so.6 => /usr/lib/
libXi.so.6 => /usr/lib/libXi.so.6 (0xb6ffa000)
libXrender.so.1 => /usr/lib/
libXrandr.so.2 => /usr/lib/
libXfixes.so.3 => /usr/lib/
libXcursor.so.1 => /usr/lib/
libXinerama.so.1 => /usr/lib/
libfreetype.so.6 => /usr/lib/
libfontconfig.so.1 => /usr/lib/
libXext.so.6 => /usr/lib/
/lib/ld-linux.so.2 (0xb7fdd000)
libXau.so.6 => /usr/lib/
libXdmcp.so.6 => /usr/lib/
libexpat.so.1 => /usr/lib/

D4nielfree (d4nielfree) wrote : | #12 |
confirm this bug, just after i installed Nessus.
according to http://
remove /opt/nessus/lib from /etc/ld.so.conf and re-run ldconfig just solved the problem

Terence Simpson (tsimpson) wrote : | #13 |
If this is caused by installing third-party applications then it's not a bug in Qt but in the third-party application.
Changed in qt4-x11: | |
status: | Confirmed → Invalid |

Zeljko Milic bullet (bullet011) wrote : | #14 |
This is not a third-party bug!! Please do not pass the "ball" from one to another maintainer or bug fixer or how ever do You guys call yourself !!
I am seek and tired being passed around.
Let some of you fix this problem once for all or even try doing so!!
I got error starting smplayer but I am sure that this error isn't caused installing third party applications :
/usr/lib/
In the next post i will give you some further logs and other stuff when I collect it from many other maintainers where I reported a bug but been sent around.
Thans!!

Zeljko Milic bullet (bullet011) wrote : | #15 |
The output of ldd -r /usr/lib/
undefined symbol: _ZN14QObjectPri
linux-gate.so.1 => (0xb7f6b000)
libQtCore.so.4 => /lib/libQtCore.so.4 (0xb7d19000)
libfontconfig.so.1 => /usr/lib/
libz.so.1 => /usr/lib/libz.so.1 (0xb7cd9000)
libgthread-
librt.so.1 => /lib/tls/
libglib-2.0.so.0 => /usr/lib/
libpthread.so.0 => /lib/tls/
libdl.so.2 => /lib/tls/
libstdc++.so.6 => /usr/lib/
libm.so.6 => /lib/tls/
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7ada000)
libc.so.6 => /lib/tls/
libfreetype.so.6 => /usr/lib/
libexpat.so.1 => /usr/lib/
libselinux.so.1 => /lib/libselinux
/lib/ld-linux.so.2 (0xb7f6c000)
libpcre.so.3 => /usr/lib/

Zeljko Milic bullet (bullet011) wrote : | #16 |
the output of lsb_release -rd :
Description: Ubuntu 8.04
Release: 8.04
the "dpkg -l "libqt4*" "smplayer" | grep "^ii" > dpkg-l.log " content is:
ii libqt4-core 4.3.4-0ubuntu3 Qt 4 core non-GUI functionality runtime library
ii libqt4-dev 4.3.4-0ubuntu3 Qt 4 development files
ii libqt4-gui 4.3.4-0ubuntu3 Qt 4 core GUI functionality runtime library
ii libqt4-qt3support 4.3.4-0ubuntu3 Qt 3 compatibility library for Qt 4
ii libqt4-sql 4.3.4-0ubuntu3 Qt 4 SQL database module

Zeljko Milic bullet (bullet011) wrote : | #17 |
If You need more details please do not hesitate to contact me!!

Keith Baker (keibak) wrote : | #18 |
D4nielfree wrote on 2008-04-21: remove /opt/nessus/lib from /etc/ld.so.conf and re-run ldconfig just solved the problem
That solves the Skype/Virtualbo
Now Nessus and Skype run and VirtalBox 2.0-Windows are drawn correctly.
Changed in qt4-x11: | |
status: | Invalid → New |
Changed in qt4-x11: | |
status: | New → Invalid |

Jimmy Happy (jimmyhappyi) wrote : | #19 |
I have found this bug. This bug is VALID.
Many have reported about a bug with QT, with other libraries of QT in other directories.
(skype, nessus, etc.)
This bug has NOTHING to do with private copies of QT libraries.
ldd `which qtconfig` | grep Qt:
libQt3Support.so.4 => /usr/lib/
libQtSql.so.4 => /usr/lib/
libQtXml.so.4 => /usr/lib/
libQtNetwork.so.4 => /usr/lib/
libQtGui.so.4 => /usr/lib/
libQtCore.so.4 => /usr/lib/
This affects 8.04, a LTS release. So far, I've heard that 8.10 works fine.
Isn't 8.04 a LTS? It's not acting like one! So far, NO FIXES for QT in this version! :(

Ramon (donramon) wrote : | #20 |
I also have a problem in 8.10.
I have identified at least the following programs not running: skype, last.fm, virtualbox.
I have not installed nessus so the solution provided in some forums does not apply.
Following the posts in this thread, I have tried to extract some extra information:
My /etc/ld.so.conf:
include /etc/ld.
/usr/lib
/usr/local/lib
/usr/local/
Some ldd messages:
$ ldd /usr/bin/lastfm
not a dynamic executable
$ ldd /usr/bin/skype
linux-gate.so.1 => (0xb7f03000)
libasound.so.2 => /usr/lib/
libXv.so.1 => /usr/lib/libXv.so.1 (0xb7e00000)
libXss.so.1 => /usr/lib/
librt.so.1 => /lib/tls/
libQtDBus.so.4 => /usr/lib/
libQtGui.so.4 => /usr/local/
libQtNetwork.so.4 => /usr/lib/
libQtCore.so.4 => /usr/local/
libpthread.so.0 => /lib/tls/
libstdc++.so.6 => /usr/lib/
libm.so.6 => /lib/tls/
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7160000)
libc.so.6 => /lib/tls/
libX11.so.6 => /usr/lib/
libXext.so.6 => /usr/lib/
libdl.so.2 => /lib/tls/
/lib/ld-linux.so.2 (0xb7ee9000)
libQtXml.so.4 => /usr/lib/
libz.so.1 => /usr/lib/libz.so.1 (0xb6ea5000)
libxcb-xlib.so.0 => /usr/lib/
libxcb.so.1 => /usr/lib/
libXau.so.6 => /usr/lib/
libXdmcp.so.6 => /usr/lib/
$ ldd /usr/bin/virtualbox
not a dynamic executable
$ dpkg -l "libqt4*" "skype" | grep "^ii" > dpkg-l.log
ii libqt4-assistant 4.4.3-0ubuntu1.2 Qt 4 assistant module
ii libqt4-core 4.4.3-0ubuntu1.2 transitional package for Qt 4 core non-GUI r
ii libqt4-dbus 4.4.3-0ubuntu1.2 Qt 4 D-Bus module
ii libqt4-designer 4.4.3-0ubuntu1.2 Qt 4 designer module
ii libqt4-gui 4.4.3-0ubuntu1.2 transitional package for Qt 4 GUI runtime li
ii libqt4-network 4.4.3-0ubuntu1.2 Qt 4 network module
ii libqt4-opengl 4.4.3-0ubuntu1.2 Qt 4 OpenGL module
ii libqt4-qt3support 4.4.3-0ubuntu1.2 Qt 3 compatibility library for Qt 4
ii libqt4-script 4.4.3-0ubuntu1.2 Qt 4 script module
ii libqt4-sql 4.4.3-0ubuntu1.2 ...

Terence Simpson (tsimpson) wrote : | #21 |
You have a mix of /usr/lib and /usr/local/lib there, mixing libraries like that is bound to cause problems.

Ramon (donramon) wrote : | #22 |
Thanks for the hint Terence, but what does that mean? It is not like if I chose where to put the libs myself, I rely on synaptic for that.
Any ideas for a solution?

Terence Simpson (tsimpson) wrote : | #23 |
No Ubuntu packages will install anything to /usr/local, it must be something you installed manually or a .deb you installed from a 3rd party repository.
If it's the latter you can find the package with: dpkg -S usr/local/

Ramon (donramon) wrote : | #24 |
Thank you Terence.
The thing that I installed automatically out of synaptic was Adobe Air, when I clicked on the install button for TweetDeck or Twhirl in their page. I guess that could be the source of the problem. I guess that an automatic install like that is too good to be true!
When I run dpkg -S usr/local/
Could you please tell me what do I have to do to properly reinstall QT? I have done a preliminary search, but most of the packages people mention are not present, although I have Universe repositories checked.

Ramon (donramon) wrote : | #25 |
libQTCore is in the usr/local/lib directory. I cd to it and run dpkg -S usr/local/
The computer says:
libqtcore4: /usr/lib/
libqtcore4: /usr/lib/
libqtcore4: /usr/lib/

Terence Simpson (tsimpson) wrote : | #26 |
I would suggest just moving (or removing) those libraries from /usr/local/lib and seeing if Qt applications start to work

Ramon (donramon) wrote : | #27 |
It works !
Thanks a lot Terence :)

mike.simonson (mike-simonson) wrote : | #28 |
worked for me too
thanks a lot Terence because i had kdenlive virtualbox and many other application not working anymore.

mike.simonson (mike-simonson) wrote : | #29 |
Hum the solution works perfectly for me but each time i reboot the files in /usr/local/lib are recreated or maybe it's a program i run that put them back there.
Anyway is there a solution to know which program has created the files?

vpxavier (vpxavier-gmail) wrote : | #30 |
Hello, I have the same problem with ubuntu 9.04.
When trying to launch virtualbox-ose:

vpxavier (vpxavier-gmail) wrote : | #31 |
sorry... when trying to launch virtualbox-ose:
VirtualBox: supR3HardenedMa
when trying to launch skype:
skype: symbol lookup error: /usr/lib/
For info:
# dpkg -S usr/lib/

jasper van bourgognie (jaspervb) wrote : | #32 |
Hey,
This solved also my problem. It occured after installing the belgian identity card reader software (beid) provided by the government. Their software installer is a piece of crap :-p I read on another forum that they are actually advising to use the beid that is in the ubuntu repo.
Anyhow, what the installer did was putting some custom libQtCore.so.4 and libQtGui.so.4 in the /usr/local/lib directory. Just removing those and running ldconfig again did the trick.
Thanks guys!

Koen Roggemans (koen-roggemans) wrote : | #33 |
Thanks Yarlie and all others
Same here with the Belgian ID reader :-' - I didn't realise there was a package for that.

Jack (jgreindl) wrote : | #34 |
Thanks all
Same here with the Belgian ID reader...
Belgian Gov really needs help ;-)

SX (sx-simpson) wrote : | #35 |
Hi,
I have the same issue with my eid card reader but I can't remove permanently the two files libQtCore.so.4 and libGTGui.so.4 in /usr/local/
Thanks

Ubuntu LinuXer (akifkucet) wrote : | #36 |
I get it with Ubuntu 10.04 64 bit too.

Ubuntu LinuXer (akifkucet) wrote : | #37 |
None of the solution worked for me.

Shane (shane-h-1) wrote : | #38 |
What the hell, one day I was using skype, the next I get this flippin error. I ran through the above troubleshooting, and got nowhere.

Prosper (prosper-nl) wrote : | #39 |
Ran into it today too. Trying to play kshisen.
I don't have any libQtSvg files in /usr/local/lib, only in /usr/lib.
None of the above workarounds gave any help.
Neither did reinstalling.

Jezscha (jezschaj) wrote : | #40 |
Hi, unfortunately i have similar problem.. Since i have installed new Ubuntu 10.04 (brand new installation) i cannot access VLC, QT_setting_utility, QT_designer, qBittorrent, and so on. Non of QT apps works except the application with their own qt library (NUKE, MAYA). I have already reinstalled QT many times but unsuccessfully.
qt4-designer:
my@me-laptop:~$ /usr/bin/
VLC:
my@me-laptop:~$ VLC media player 1.0.6 Goldeneye
(it works to play film but without qtGui...)
my@me-laptop:~$ qbittorrent: symbol lookup error: /usr/lib/
my@me-laptop:~$ ldd /usr/lib/
linux-vdso.so.1 => (0x00007fffb25f
libaudio.so.2 => /usr/lib/
libpng12.so.0 => /lib/libpng12.so.0 (0x00007fceb9e5
libfreetype.so.6 => /usr/lib/
libgobject-
libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fceb977
libICE.so.6 => /usr/lib/
libQtCore.so.4 => /usr/lib/
libz.so.1 => /lib/libz.so.1 (0x00007fceb900
libglib-2.0.so.0 => /lib/libglib-
libpthread.so.0 => /lib/libpthread
libXrender.so.1 => /usr/lib/
libfontconfig.so.1 => /usr/lib/
libXext.so.6 => /usr/lib/
libX11.so.6 => /usr/lib/
libstdc++.so.6 => /usr/lib/
libm.so.6 => /lib/libm.so.6 (0x00007fceb7be
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fceb79d
libc.so.6 => /lib/libc.so.6 (0x00007fceb764
libXt.so.6 => /usr/lib/libXt.so.6 (0x00007fceb73e
libXau.so.6 => /usr/lib/
libgthread-
librt.so.1 => /lib/librt.so.1 (0x00007fceb6dd
libpcre.so.3 => /lib/libpcre.so.3 (0x00007fceb6ba
libuuid.so.1 => /lib/libuuid.so.1 (0x00007fceb69a
libdl.so.2 => /lib/libdl.so.2 (0x00007fceb679
/lib64/
libexpat.so.1 => /lib/libexpat.so.1 (0x00007fceb657
libxcb.so.1 => /usr/lib/
libXdmcp.so.6 => /usr/lib/
I am trying to make it work last 5 days and even copying the same library-pack from already mentioned applications (maya, nuke) didn't work... So i am really stuck.. Please help my somebody!! Any suggestion will be appreciated!

Joost Ringoot (joost) wrote : | #41 |
Thanks guys, it worked for me too.
I did this:
mkdir -p Desktop/
mv /usr/local/
mv /usr/local/
All those broken apps like : k3b, vlc, kate, amarok work again.
Heartgroundily: "THANK YOU!"

Leonid Evdokimov (darkk) wrote : | #42 |
Google Earth package does same evil thing while placing path to their own Qt version into /etc/ld.

TheMidnightHunter (me-themidnighthunter) wrote : | #43 |
Ditto Prosper. Kshishen will not launch on 10.04. Recently reinstalled Google Earth, so that is probable culprit. No QT4 in /usr/local/lib. Does anyone have a solution for this on 10.04?

Mannex (russ-mannex) wrote : | #44 |
The only solution I came up with was reinstalling the OS, not as a solution (because that would be rather drastic!), but because I had to -- my hard drive crashed. When I got everything running again, I just didn't install GoogleEarth. Sorry. Not much help.

Nixblicker (el-lunatico) wrote : | #45 |
Hello,
i have the same problem on 10.04
"ldd -d -r /usr/lib/
undefined symbol: _Z9qBadAllocv (/usr/lib/
undefined symbol: _ZN14QObjectPri
undefined symbol: _Z9qBadAllocv (/usr/lib/
undefined symbol: _ZN14QObjectPri
undefined symbol: _ZN14QWidgetPri
undefined symbol: _ZNK9QMenuItem1
undefined symbol: _ZN9QMenuItem11
undefined symbol: _ZN9QMenuItem11
undefined symbol: _ZTI9QMenuItem (/usr/lib/
undefined symbol: _ZTV9QMenuItem (/usr/lib/
undefined symbol: _ZN6QTimerC1EP7
undefined symbol: _ZN7QWidget5era
undefined symbol: _ZN12QCustomEve
undefined symbol: _ZN7QPixmapC1ER
undefined symbol: _ZN11QPushButto
undefined symbol: _ZN6QLabelC1ERK
undefined symbol: _ZN11QToolButto
undefined symbol: _ZNK17QContextM
undefined symbol: _ZN11QGridLayou
undefined symbol: _ZN15QSocketNot
undefined symbol: _ZN5QMenu10inse
undefined symbol: _ZNK7QWidget14b
undefined symbol: _ZNK10QTextCode
undefined symbol: _ZN6QTimer5startEib (/usr/lib/
undefined symbol: _ZNK7QWidget11v
undefined symbol: _ZN11QPushButto
undefined symbol: _ZNK7QString12a
undefined symbol: _ZNK8QPalette16
undefined symbol: _ZN4QDir15setMa
undefined symbol: _ZN6QLabelC1EP7
undefined symbol: _ZN7QDialogC2EP
undefined symbol: _ZN9QMenuItemC2Ev (/usr/lib/
undefined symbol: _ZN8QSpinBoxC1E
undefined symbol: _ZNK7QObject9qu
undefined symbol: _ZN11QGridLayou
undefined symbol: _ZN9QIODevice11
undefined symbol: _ZNK8QPainter12
undefined symbol: _ZN11QTextStrea
...

Mannex (russ-mannex) wrote : | #46 |
Nixblicker, the only thing I can say is that for the majority of the cases I've encountered since opening this issue, it seems that installation of GoogleEarth is the culprit. If you have that installed, that is likely the cause. The only solution I have found is a reinstallation of the OS and NOT installing GoogleEarth. Apparently, they don't play well with Ubuntu anymore.

Nixblicker (el-lunatico) wrote : | #47 |
Hey guys,
seems that i have solved this problem for me - i recently moved over to a newer PC, and our admin tried to recover as much software as possible from that has been installed previously. I didn't even knew i had GoogleEarth installed before, but it was now - and most likely this was really the culprit.
But there is absolutely no need to reinstall your entire system - i simply found duplicate (obsolete) copies of
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
in /lib - i guess this screwed the library linking in ld. So make sure you do not have duplicates in the Path, may it be /usr/local/lib or /lib or wherever.
All i did was to move those suspects to another folder not in the Path, update ld via "ldconfig" and all "undefined symbols" were gone.
Good luck!
Cheers, Nix

Mannex (russ-mannex) wrote : | #48 |
Hey Nix, thanks very much for the info! Definitely something to keep note of. I have another question. Did you leave GoogleEarth installed? In other words, now that you've removed the errant libraries, does GoogleEarth run? If you already removed it, don't install it just to find out (since I think it caused the problem in the first place). Just curious. If it works now, that may be the solution to those who absolutely have to have GoogleEarth installed. Thanks again for the solution!

Terje Andre Arnøy (terjeaar) wrote : | #49 |
Ok, I have a similar error, but no Google Earth. Are there any other known culprits for this error?
Changed in qt: | |
status: | New → Invalid |

Mohammad Anwar Shah (mohammadanwarshah) wrote : | #50 |
The problem is caused by 3rd party application installing own versions of Qt libraries. In my case, it is MF 710 3G modem used by sold by some mobile operators here (Bangladesh). The libraries are in `/opt/Teletalk_
cd /opt/Teletalk_
sudo mv libQt* /tmp/
Then use `ldconfig` command to reload the libraries.
I have the same problem with lastfm:
$ lastfm libQtNetwork. so.4: undefined symbol: _ZN14QObjectPri vate15checkWind owRoleEv
lastfm: symbol lookup error: /usr/lib/
And i have seen on the forums same problem with Skype: ubuntuforums. org/showthread. php?t=634647
http://