Mailinglist Archive: opensuse (4343 mails)

< Previous Next >
how to find a missing symbol??
  • From: Richard Bos <allabos@xxxxxxxxxx>
  • Date: Wed, 6 Nov 2002 21:28:35 +0100
  • Message-id: <200211062128.35759.allabos@xxxxxxxxxx>
Via "my way" I upgraded from 8.0 -> 8.1. I have now a yast2 that reports the
following error:
/usr/lib/YaST2/bin/y2controlcenter: relocation error:
/usr/lib/YaST2/bin/y2controlcenter: undefined symbol: __ti7QWidget

As I'm just interested how to debug this, I would appreciate some hints as I
do not come to the cause of the problems. Perhaps some of you can help?

This is what I figured out sofar:

From the above error I figure out it is a QT problem.
Does yast2 (y2controlcenter) use QT? Yes it does see below;

# objdump -p /usr/lib/YaST2/bin/y2controlcenter

/usr/lib/YaST2/bin/y2controlcenter: file format elf32-i386

Program Header:
PHDR off 0x00000034 vaddr 0x08048034 paddr 0x08048034 align 2**2
filesz 0x000000c0 memsz 0x000000c0 flags r-x
INTERP off 0x000000f4 vaddr 0x080480f4 paddr 0x080480f4 align 2**0
filesz 0x00000013 memsz 0x00000013 flags r--
LOAD off 0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12
filesz 0x0001a7a0 memsz 0x0001a7a0 flags r-x
LOAD off 0x0001a7a0 vaddr 0x080637a0 paddr 0x080637a0 align 2**12
filesz 0x00006b14 memsz 0x00006cf8 flags rw-
DYNAMIC off 0x0002094c vaddr 0x0806994c paddr 0x0806994c align 2**2
filesz 0x000000f0 memsz 0x000000f0 flags rw-
NOTE off 0x00000108 vaddr 0x08048108 paddr 0x08048108 align 2**2
filesz 0x00000020 memsz 0x00000020 flags r--

Dynamic Section:
NEEDED libqt-mt.so.3
NEEDED libXext.so.6
NEEDED libX11.so.6
NEEDED libstdc++-libc6.2-2.so.3
NEEDED libm.so.6
NEEDED libc.so.6
INIT 0x8050854
FINI 0x8060948
HASH 0x8048128
STRTAB 0x804b460
SYMTAB 0x80491f0

# locate libqt-mt.so.3
/usr/lib/libqt-mt.so.3
/usr/lib/qt-3.0.5/lib/libqt-mt.so.3
/usr/lib/qt-3.0.5/lib/libqt-mt.so.3.0
/usr/lib/qt-3.0.5/lib/libqt-mt.so.3.0.5


# ls -l /usr/lib/qt-3.0.5/lib/libqt-mt.so.3.0.5
6431056 Oct 21 2002 /usr/lib/qt-3.0.5/lib/libqt-mt.so.3.0.5

Alright lib is there.

I believe that nm should display the symbols in the lib. Let's try it:
# nm /usr/lib/qt-3.0.5/lib/libqt-mt.so.3.0.5
nm: /usr/lib/qt-3.0.5/lib/libqt-mt.so.3.0.5: no symbols


Now I'm stuck. How to continue or were to start from??


--
Richard Bos
Without a home the journey is endless


< Previous Next >
Follow Ups