Gentoo Archives: gentoo-user

From: Neil Hodges <kenji.malist@×××××.com>
To: gentoo-user@l.g.o, gentoo-user@l.g.o
Subject: Re: [gentoo-user] OpenOffice.org Build Failure: libpython: Missing Symbol "Deflate"
Date: Sun, 27 Aug 2006 23:26:52
Message-Id: 20060827231936.GA29120@hsd3
In Reply to: Re: [gentoo-user] OpenOffice.org Build Failure: libpython: Missing Symbol "Deflate" by Richard Fish
1 Hello again,
2
3 These are all libpython is linked against:
4 linux-gate.so.1 => (0xffffe000)
5 libpthread.so.0 => /lib/libpthread.so.0 (0xb7e7f000)
6 libdl.so.2 => /lib/libdl.so.2 (0xb7e7b000)
7 libutil.so.1 => /lib/libutil.so.1 (0xb7e77000)
8 libm.so.6 => /lib/libm.so.6 (0xb7e52000)
9 libc.so.6 => /lib/libc.so.6 (0xb7d33000)
10 /lib/ld-linux.so.2 (0x80000000)
11
12 - Neil
13 On 15:28 Sun 27 Aug , Richard Fish wrote:
14 > On 8/27/06, Neil Hodges <kenji.malist@×××××.com> wrote:
15 > >Hello all,
16 > >
17 > >I've run into a build error with OpenOffice.org 2.0.3 regardless of USE. The command checkdll.sh claims that there is no symbol
18 > >"deglate" in libpython2.4.so.1.0, but there is:
19 > >====================
20 > >$ readelf -s /usr/lib/libpython2.4.so.1.0 | grep deflate
21 > > 58: 00000000 0 NOTYPE GLOBAL DEFAULT UND deflate
22 > > 467: 00000000 0 NOTYPE GLOBAL DEFAULT UND deflateInit_
23 > > 586: 00000000 0 NOTYPE GLOBAL DEFAULT UND deflateInit2_
24 > > 1118: 00000000 0 NOTYPE GLOBAL DEFAULT UND deflateEnd
25 > >====================
26 > >Why does the build fail?
27 >
28 >
29 > Hmm,
30 >
31 > carcharias rjf # readelf -s /usr/lib/libpython2.4.so.1.0 | grep deflate
32 > carcharias rjf #
33 >
34 > It looks like somehow you built python so it is dynamically linked
35 > against libz. Normally those dependancies are only on the module
36 > libraries in lib-dynload. What does ldd /usr/lib/libpython2.4.so.1.0
37 > report?
38 >
39 > I suggest posting the outputs of "emerge -pv python" and emerge --info.
40 >
41 > -Richard
42 > --
43 > gentoo-user@g.o mailing list
44
45 --
46 gentoo-user@g.o mailing list