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
On Wednesday 06 November 2002 21.28, Richard Bos wrote:
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
That is a symbol exported by qt3 compiled with gcc 2.95.3, not one compiled with gcc 3.2
NEEDED libstdc++-libc6.2-2.so.3
huh? Which version of yast2 control center do you have installed? Anders
Op woensdag 6 november 2002 21:50, schreef Anders Johansson:
NEEDED libstdc++-libc6.2-2.so.3
huh? Which version of yast2 control center do you have installed?
Can't check it right now, only tomorrow morning :( What does this library refer to/what does it tell? -- Richard
On Wednesday 06 November 2002 22.11, Richard Bos wrote:
Op woensdag 6 november 2002 21:50, schreef Anders Johansson:
NEEDED libstdc++-libc6.2-2.so.3
huh? Which version of yast2 control center do you have installed?
Can't check it right now, only tomorrow morning :( What does this library refer to/what does it tell?
It tells me that the version of y2controlcenter you have installed was compiled with gcc 2.95.3. IOW it wasn't upgraded.
Op woensdag 6 november 2002 22:12, schreef Anders Johansson:
On Wednesday 06 November 2002 22.11, Richard Bos wrote:
Op woensdag 6 november 2002 21:50, schreef Anders Johansson:
NEEDED libstdc++-libc6.2-2.so.3
huh? Which version of yast2 control center do you have installed?
Can't check it right now, only tomorrow morning :( What does this library refer to/what does it tell?
It tells me that the version of y2controlcenter you have installed was compiled with gcc 2.95.3. IOW it wasn't upgraded.
Anders, thanks this is what I needed. All rpms were the most recent versions available (2.6-X). I reinstalled all the yast2 rpms and after that yast2 works as expected :) -- Richard Bos Fresh rpms for SuSE: http://linux01.gwdg.de/apt4rpm/freshrpms.html Without a home the journey is endless
On Thursday 07 November 2002 19.57, Richard Bos wrote:
thanks this is what I needed. All rpms were the most recent versions available (2.6-X). I reinstalled all the yast2 rpms and after that yast2 works as expected :)
Are you saying apt claimed to have upgraded a package when it actually hadn't?
Op donderdag 7 november 2002 23:32, schreef Anders Johansson:
On Thursday 07 November 2002 19.57, Richard Bos wrote:
thanks this is what I needed. All rpms were the most recent versions available (2.6-X). I reinstalled all the yast2 rpms and after that yast2 works as expected :)
Are you saying apt claimed to have upgraded a package when it actually hadn't?
No, it's rpm that claimed to have made the updates. However, I don't blaim either rpm or apt here as the upgrade process became interrupted due to my fault after removing all packages, but before installing the new ones. Not much worked at that point, but I could recover from it and all is working fine now :) -- Richard Bos Fresh rpms for SuSE: http://linux01.gwdg.de/apt4rpm/freshrpms.html Without a home the journey is endless
participants (2)
-
Anders Johansson
-
Richard Bos