Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o, gentoo-user@g.o
Subject: Re: [gentoo-user] OpenOffice.org Build Failure: libpython: Missing Symbol "Deflate"
Date: Sun, 27 Aug 2006 22:35:15
Message-Id: 7573e9640608271528t2129b933yf41d8cb2c96cb03d@mail.gmail.com
In Reply to: [gentoo-user] OpenOffice.org Build Failure: libpython: Missing Symbol "Deflate" by Neil Hodges
1 On 8/27/06, Neil Hodges <kenji.malist@×××××.com> wrote:
2 > Hello all,
3 >
4 > 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 "deglate" in libpython2.4.so.1.0, but there is:
5 > ====================
6 > $ readelf -s /usr/lib/libpython2.4.so.1.0 | grep deflate
7 > 58: 00000000 0 NOTYPE GLOBAL DEFAULT UND deflate
8 > 467: 00000000 0 NOTYPE GLOBAL DEFAULT UND deflateInit_
9 > 586: 00000000 0 NOTYPE GLOBAL DEFAULT UND deflateInit2_
10 > 1118: 00000000 0 NOTYPE GLOBAL DEFAULT UND deflateEnd
11 > ====================
12 > Why does the build fail?
13
14
15 Hmm,
16
17 carcharias rjf # readelf -s /usr/lib/libpython2.4.so.1.0 | grep deflate
18 carcharias rjf #
19
20 It looks like somehow you built python so it is dynamically linked
21 against libz. Normally those dependancies are only on the module
22 libraries in lib-dynload. What does ldd /usr/lib/libpython2.4.so.1.0
23 report?
24
25 I suggest posting the outputs of "emerge -pv python" and emerge --info.
26
27 -Richard
28 --
29 gentoo-user@g.o mailing list