[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kdelibs build problem



Dominique Devriese writes:
Matthew M Lavy writes:
I would be very grateful for advice on the following: I have just
upgraded my Debian system from woody to unstable (big hike I know
:)). All is well, except for KDE. kdeinit fails to start; further
investigation reveals the following: #kde-config kde-config:
relocation error: /usr/lib/libkdefx.so.4: undefined symbol:
_ZN7QObject5eventEP6QEvent

This is weird.
Hmm. So:
#apt-get -b source kdelibs4
<snip>
 In other words, here's my relocation
error again.

Yes, I'm not sure why you thought this would fix anything.

Thought it might be some weird linking error that would magically resolve itself if the same gcc were used on QT and KDE on my system. Evidently I was wrong :)

I am running Linux i386 Kernel version 2.4.19 gcc
version 3.3.3. 20031229 libqt3c102-mt et al debian packages v3.2.3-1
(I also tried building the libqt packages on my own system in case
the problem lay in qt; this works fine). Any thoughts would be
appreciated.

You seem to have a tendency of compiling stuff yourself.  Are you sure
you're using the standard debian qt and kde packages.

I usually use Debian binary packages; I only compiled these myself after the binaries failed to work (see above). The following information may be useful for confirmation that I have the right packages:
#dpkg -l |grep qt
rc  libqt3         3.0.3-20020329 Qt GUI Library (runtime version).
ii  libqt3-compat- 3.2.3-1        Qt 1.x and 2.x compatibility includes
ii  libqt3-dev     3.2.3-1        Qt development files
ii  libqt3-headers 3.2.3-1        Qt3 header files
ii  libqt3-i18n    3.2.3-1        i18n files for Qt3 library
rc  libqt3-mt      3.0.3-20020329 Qt GUI Library (Threaded runtime version).
ii  libqt3c102     3.2.3-1        Qt Library
ii  libqt3c102-mt  3.2.3-1        Qt GUI Library (Threaded runtime version)
ii  libqt3c102-mt- 3.2.3-1        MySQL database driver for Qt3 (Threaded)
ii  libqt3c102-mt- 3.2.3-1        ODBC database driver for Qt3 (Threaded)
ii libqt3c102-mt- 3.2.3-1 PostgreSQL database driver for Qt3 (Threaded
ii  libqt3c102-mys 3.2.3-1        MySQL database driver for Qt3
ii  libqt3c102-odb 3.2.3-1        ODBC database driver for Qt3
ii  libqt3c102-psq 3.2.3-1        PostgreSQL database driver for Qt3
ii qt-designer-do 2.3.1-22 Tutorial and reference documentation for Qt
ii  qt-doc         2.3.2-14       Reference documentation for Qt
ii  qt3-assistant  3.2.3-1        The Qt3 assistant application
ii  qt3-dev-tools  3.2.3-1        Qt3 development tools
ii  qt3-dev-tools- 3.2.3-1        Conversion utilities for Qt3 development
ii  qt3-dev-tools- 3.2.3-1        Tools to develop embedded Qt applications
ii  qt3-doc        3.2.3-1        Qt3 API documentation
ii  qt3-linguist   3.2.3-1        The Qt3 Linguist
ii  qt3-qtconfig   3.2.3-1        The Qt3 Configuration Application
rc qt3-tools 3.0.3-20020329 Qt GUI Designer and other Qt3 based tools
#dpkg -l |grep kde
rc  kde-designer   2.3.0-final-1  QT GUI Designer (with KDE widget support)
rc  kdebase-bin    3.1.4-2        KDE Base (binaries)
rc  kdebase-libs   2.2.2-14       KDE libraries and modules for kdebase
ii  kdelibs        3.1.4-3        KDE core libraries metapackage
ii  kdelibs-bin    3.1.4-3        KDE core binaries
ii  kdelibs-data   3.1.4-3        KDE core shared data
rc  kdelibs-dev    2.2.2-5        KDE core libraries (development files)
rc  kdelibs3       2.2.2-13       KDE core libraries (runtime files)
rc  kdelibs3-crypt 2.2.2-6        KDE core crypto libraries
ii  kdelibs4       3.1.4-3        KDE core libraries
rc  kdepasswd      3.1.4-1        KDE password changer
rc  kdepim-libs    3.1.4-1        KDE PIM libraries
rc  kdeprint       3.1.4-2        KDE Print
rc  kdesktop       3.1.4-2        KDE Desktop
rc  libkdeedu1     3.1.4-3        library for use with KDE educational apps
rc  libkdegames1   3.1.4-1        KDE games library and common files
rc libkdenetwork1 2.2.2-14 Common libraries needed for KDE network appl rc libkdenetwork2 3.1.4-1 KDE Network (common libraries)
 If so, can you
send us the output of the following command:
nm --dynamic /usr/lib/libqt3-mt.so | grep _ZN7QObject5eventEP6QEvent

Erm, there is no /usr/lib/libqt3-mt.so:
#ls /usr/lib/libqt
libqt.la            libqt-mt.so.3.2     libqt.so.3
libqtmcop.so.1      libqt-mt.so.3.2.3   libqt.so.3.2
libqtmcop.so.1.0.0  libqt.prl           libqt.so.3.2.3
libqt-mt.so.3 libqt.so However:
#nm --dynamic /usr/lib/libqt.so.3 | grep _ZN7QObject5eventEP6QEvent
00264000 T _ZN7QObject5eventEP6QEvent Many thanks. Matthew

--
Matthew M Lavy MA PhD PgDL ARCM LTCL
http://www.scribblin.gs


Reply to: