By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 583

Summary: [kdelibs] startkde fails because of undefined symbol _ZN7QObject18childrenListObjectEv
Product: TDE Reporter: Laurent Dard <f.couperin>
Component: debianAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: major CC: bugwatch, contact, darrella, sysoevd
Priority: P5    
Version: 3.5.13 [Trinity]   
Hardware: amd64   
OS: Debian Squeeze   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: xsession-errors

Description Laurent Dard 2011-11-07 07:00:17 CST
Created attachment 116 [details]
xsession-errors

On Debian testing/unstable, I am unable to run the new version of TDE.

startkde doesn't start correctly. It says:

/opt/trinity/bin/kdeinit: symbol lookup error: /opt/trinity/lib/libDCOP.so.4: undefined symbol: _ZN7QObject21objectTreesListObjectEv

[startkde] Could not start kdeinit. Check your installation.

[startkde] kdeinit started successfully.

And kde programs won't run:

$ /opt/trinity/bin/konqueror
konqueror: symbol lookup error: /opt/trinity/lib/libkparts.so.2: undefined symbol: _ZN7QObject18childrenListObjectEv
[1]+  Exit 127                /opt/trinity/bin/konqueror
$ /opt/trinity/bin/konsole 
konsole: symbol lookup error: /opt/trinity/lib/libkdeui.so.4: undefined symbol: _ZN7QObject18childrenListObjectEv
$ qalculate
qalculate: symbol lookup error: /opt/trinity/lib/libkdeui.so.4: undefined symbol: _ZN7QObject18childrenListObjectEv



kdelibs versions installed:

$ dpkg -l kdelibs*|grep ii
ii  kdelibs-bin                                          4:4.6.5-2+b1                            core executables for KDE Applications
ii  kdelibs-data                                         4:3.5.10.dfsg.1-5                       core shared data for all KDE applications
ii  kdelibs-data-trinity                                 4:3.5.13-0debian9+r1261449+pr12~squeeze core shared data for all TDE applications
ii  kdelibs-dbg                                          4:3.5.10.dfsg.1-5                       debugging symbols for kdelibs
ii  kdelibs-trinity                                      4:3.5.13-0debian9+r1261449+pr12~squeeze core libraries from the official Trinity release
ii  kdelibs-trinity-dbg                                  4:3.5.13-0debian9+r1261449+pr12~squeeze debugging symbols for kdelibs
ii  kdelibs4c2a                                          4:3.5.10.dfsg.1-5                       core libraries and binaries for all KDE applications
ii  kdelibs4c2a-trinity                                  4:3.5.13-0debian9+r1261449+pr12~squeeze core libraries and binaries for all TDE applications
ii  kdelibs5-data                                        4:4.6.5-2                               core shared data for all KDE Applications
ii  kdelibs5-plugins                                     4:4.6.5-2+b1                            core plugins for KDE Applications

path:

$ echo $PATH
/opt/trinity/bin:/opt/trinity/bin:/opt/trinity/bin:/home/myself/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin

(That's not related to this bug but: THREE TIMES /opt/trinity/bin! Why that?)

'~/.xsession-errors' attached
Comment 1 Laurent Dard 2011-11-08 06:51:24 CST
Here is a solution.

The bug is in the 'control' file of kdelibs4c2a-trinity (and maybe elsewhere).
It's just a typo:
kdelibs4c2a-trinity depends on: libqt3-mt (>= 3:3.3.8-d)
but it should depends on:       libqt3-mt (>= 3:3.3.8d)

Without this correction, my old qt3 libs where still there (3:3.3.8b-11).
I upgraded manually libqt3* to 3:3.3.8-d-0ubuntu0+sr73+pr181~squeeze and the bug has gone.

$ dpkg -l libqt3*|grep ii
ii  libqt3-headers                                       3:3.3.8-d-0ubuntu0+sr73+pr181~squeeze   Qt3 header files
ii  libqt3-i18n                                          3:3.3.8-d-0ubuntu0+sr73+pr181~squeeze   i18n files for Qt3 library
ii  libqt3-mt                                            3:3.3.8-d-0ubuntu0+sr73+pr181~squeeze   Qt GUI Library (Threaded runtime version), Version 3

Hope it helps.
Comment 2 Laurent Dard 2011-11-08 09:29:42 CST
Qt version should be modified as well:
3:3.3.8-d --> 3:3.3.8d
Comment 3 Laurent Dard 2011-11-09 01:40:07 CST
Precision: this bug is debian-specific.

I took a look at Ubuntu.
This bug doesn't happen there because Debian and Ubuntu use different version numbers for qt3. (3:3.3.8b-11 vs 3:3.3.8-b-8ubuntu1)
See http://packages.qa.debian.org/q/qt-x11-free.html

To compare versions:
$ dpkg --compare-versions "3:3.3.8-d" gt "3:3.3.8b-11";echo $?
1

which means "3:3.3.8b-11" is greater than "3:3.3.8-d", so apt considers that the dependencies of kdelibs4c2a-trinity are met with libqt3-mt 3:3.3.8b-11.
Comment 4 Timothy Pearson 2011-11-09 12:54:05 CST
*** Bug 572 has been marked as a duplicate of this bug. ***
Comment 5 Timothy Pearson 2011-11-11 15:31:49 CST
This bug should now be fixed via a recent upload of Qt3.3.8d with the required version number change.

Thanks for reporting, and for tracking this elusive problem down!
Comment 6 Timothy Pearson 2011-11-12 17:11:53 CST
*** Bug 609 has been marked as a duplicate of this bug. ***
Comment 7 Laurent Dard 2011-11-13 03:51:04 CST
Now, people affected by this bug must downgrade the involved packages.
(Because dpkg is treating 3:3.3.8-d-0ubuntu0+sr73+pr181~squeeze as
greater than 3:3.3.8d-0ubuntu0+sr73+pr181~squeeze)

As root:
for f in `dpkg -l | grep 3:3.3.8-d-0ubuntu0 | awk '{print $2}'` ; do
  apt-get install $f=3:3.3.8d-0ubuntu0+sr73+pr181~squeeze
done