Gentoo Archives: gentoo-amd64

From: Chris Brennan <xaero@××××××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: revdep-rebuild keep on detecting a broken link referred to libqt-mt.so.3
Date: Fri, 29 Feb 2008 17:25:16
Message-Id: 47C83FBF.3080905@xaerolimit.net
In Reply to: [gentoo-amd64] Re: revdep-rebuild keep on detecting a broken link referred to libqt-mt.so.3 by Duncan <1i5t5.duncan@cox.net>
1 Duncan wrote:
2 > Chris Brennan <xaero@××××××××××.net> posted 47C836DD.50808@××××××××××.net,
3 > excerpted below, on Fri, 29 Feb 2008 11:46:21 -0500:
4 >
5 >> I'm actually having the same issue as this w/ libqt-mt.so ... my problem
6 >> this, is gimp won't build because of it. below is the output.
7 >>
8 >>
9 >> /usr/qt/3/lib/libqt-mt.so: could not read symbols: File in wrong format
10 >> collect2: ld returned 1 exit status
11 >> make[2]: *** [test-poppler-qt] Error 1 make[2]: Leaving directory
12 >> `/var/tmp/portage/app-text/poppler-bindings-0.6.1/work/poppler-0.6.1/qt'
13 >> make[1]: *** [all-recursive] Error 1
14 >> make[1]: Leaving directory
15 >> `/var/tmp/portage/app-text/poppler-bindings-0.6.1/work/poppler-0.6.1'
16 >> make: *** [all] Error 2
17 >
18 > Hmm... so what about /usr/qt/3/lib/libqt-mt.so ? Here, it's a symlink
19 > pointing to libqt-mt.so.3, a symlink pointing to libqt-mt.so.3.3, again a
20 > symlink, pointing at libqt-mt.so.3.3.8, which is the actual shared-object
21 > library file.
22
23 the point was the error msg from the emerge output about wrong format.
24
25 > If you have a valid set of symlinks, pick any one of them and see what
26 > readelf -h says about it. If the class entry (right under magic) is
27 > anything other than ELF64, then you have a corrupted library and probably
28 > need to remerge qt (be sure you remerge qt3 not 4, if you have it merged
29 > as well). If it's ELF64 and appears to be readable, then you have other
30 > deeper problems.
31
32 I have re-emerged qt-3 numerous times, here is the output of readelf
33
34 xaero@Leviathan ~ $ readelf -h /usr/qt/3/lib/libqt-mt.so.3.3.8
35 ELF Header:
36 Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
37 Class: ELF32
38 Data: 2's complement, little endian
39 Version: 1 (current)
40 OS/ABI: UNIX - System V
41 ABI Version: 0
42 Type: DYN (Shared object file)
43 Machine: Intel 80386
44 Version: 0x1
45 Entry point address: 0x1b2000
46 Start of program headers: 52 (bytes into file)
47 Start of section headers: 7262824 (bytes into file)
48 Flags: 0x0
49 Size of this header: 52 (bytes)
50 Size of program headers: 32 (bytes)
51 Number of program headers: 6
52 Size of section headers: 40 (bytes)
53 Number of section headers: 25
54 Section header string table index: 24
55 xaero@Leviathan ~ $
56
57
58
59 >
60
61 --
62 gentoo-amd64@l.g.o mailing list

Replies