symbol lookup error when launching okular

Bug #390200 reported by Bernard François

This bug report was converted into a question: question #74903: sumbol lookup error when launching okular.

12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kdegraphics (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: kdegraphics

I just installed okular in ubuntu 9.04 (under gnome).

When I run it, nothing happens.

When I run it from a terminal, I get the following output:

ber@ubuntu:~$ okular
okular: symbol lookup error: /usr/lib/libQtDBus.so.4: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv

Note that I had a similar issue with the subcommander package yesterday; there the same undefined symbol occurs in the /usr/lib/libQtNetwork.so.4 library.

Note that I used the 'ubuntu-bug' tool to report this bug, and that it automatically suggested to report this bug for the 'kdegraphics' package instead of the 'okular' package.

I seems like there's an incompatibility between the version of Qt in the repositories and some packages using Qt.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: okular 4:4.2.2-0ubuntu2
ProcEnviron:
 PATH=(custom, no user)
 LANG=C
 SHELL=/bin/bash
SourcePackage: kdegraphics
Uname: Linux 2.6.28-6-386 i686

Revision history for this message
Bernard François (bernardfrancois-gmail) wrote :
Revision history for this message
Terence Simpson (tsimpson) wrote :

This is most likely due to you having another third-party install of the Qt4 libraries installed. Can you post the output of the following console commands:

which okular

ldd $(which okular)

Changed in kdegraphics (Ubuntu):
status: New → Incomplete
Revision history for this message
Bernard François (bernardfrancois-gmail) wrote :

Here you go... (see attachment).

I don't think I ever installed version of the Qt4 libraries by downloading and installing a .deb or other package, or by compiling from source.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

It seems a local Qt installation has crept in somehow:
libQtCore.so.4 => /usr/local/lib/libQtCore.so.4 (0xb7315000)
libQtGui.so.4 => /usr/local/lib/libQtGui.so.4 (0xb6ade000)

There's nothing we can do to fix this bug, but we can turn it into a question so that you can get support. Hope everything works out for you.

Changed in kdegraphics (Ubuntu):
status: Incomplete → Invalid
summary: - sumbol lookup error when launching okular
+ symbol lookup error when launching okular
Revision history for this message
mpaq (mipaquet) wrote :

Hi,

Exactly the same bug when trying to load Krusader or Smile....

Reading your explanation I've renamed /usr/local/lib/libQtCore.so.4 as /usr/local/lib/libQtCore.so.4.old
and /usr/local/lib/libQtGui.so.4 as /usr/local/lib/libQtGui.so.4.old
Then I've created new simlinks from /urs/lib in /usr/local/lib for those both files.

From there it's working now.

I've no idea of what bloody install have created those to files in /usr/local/lib.

Best regards

Michel

Revision history for this message
Bernard François (bernardfrancois-gmail) wrote :

That's also how I installed it. I also have no idea how those files got there. It only happens very occasionally that I install software without using the package manager.

This bug report got actually converted into a question, which can be found here:
https://answers.launchpad.net/ubuntu/+source/kdegraphics/+question/74903

Revision history for this message
Bernard François (bernardfrancois-gmail) wrote :

> That's also how I installed it.

I mean, that's how I fixed the problem. It's still morning here... :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.