Gentoo Archives: gentoo-alt

From: Antoine Dechaume <dechaume@×××××××.fr>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] libxml2 + zlib problem ?
Date: Mon, 04 Oct 2010 13:49:18
Message-Id: 6EC19AFC-09E2-4396-A63F-D202B37662D7@cerfacs.fr
1 Hi,
2
3 I am not sure this problem is related to gentoo, sorry about that if
4 it happens to be unrelated...
5
6 I have a C++ code linked to libxml2, and used through a python
7 wrapper, whenever I try to load the python module I get:
8 ImportError: /space/dechaume/prefix/usr/lib/libxml2.so.2: symbol
9 gzopen64, version ZLIB_1.2.3.3 not defined in file libz.so.1 with link
10 time reference
11
12 I don't know how to interpret this message :-/
13
14 Here are some informations:
15
16 > emerge --info libxml2
17 Portage 2.2.01.15553-prefix (prefix/linux/amd64, gcc-4.2.4,
18 unavailable, 2.6.30.10-105.2.23.fc11.x86_64 x86_64)
19 =================================================================
20 System Settings
21 =================================================================
22 System uname: Linux-2.6.30.10-105.2.23.fc11.x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E5530_@_2.40GHz-with-fedora-11-Leonidas
23 Timestamp of tree: Sun, 03 Oct 2010 21:41:20 +0000
24 ccache version 2.4 [disabled]
25 app-shells/bash: 4.1_p7
26 dev-lang/python: 2.6.5-r2
27 sys-devel/autoconf: 2.65-r1
28 sys-devel/automake: 1.11.1
29 sys-devel/binutils: 2.20.51.0.10
30 sys-devel/gcc: 4.2.4-r01.2, 4.4.4-r1
31 sys-devel/gcc-config: 1.4.1-r00.2
32 sys-devel/libtool: 2.2.10
33 sys-devel/make: 3.81-r2
34 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers)
35 ACCEPT_KEYWORDS="~amd64-linux"
36 ACCEPT_LICENSE="* -@EULA"
37 CBUILD="x86_64-pc-linux-gnu"
38 CFLAGS="-O2 -pipe -march=native"
39 CHOST="x86_64-pc-linux-gnu"
40 CONFIG_PROTECT="/etc"
41 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /
42 etc/revdep-rebuild /etc/terminfo"
43 CXXFLAGS="-O2 -pipe -march=native"
44 DISTDIR="/space/dechaume/prefix/usr/portage/distfiles"
45 FEATURES="assume-digests collision-protect distlocks fixlafiles
46 fixpackages news parallel-fetch preserve-libs protect-owned sfperms
47 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
48 GENTOO_MIRRORS="http://distfiles.gentoo.org"
49 LANG="en_US.UTF-8"
50 LDFLAGS="-Wl,-O1"
51 MAKEOPTS="-j8"
52 PKGDIR="/space/dechaume/prefix/usr/portage/packages"
53 PORTAGE_CONFIGROOT="/space/dechaume/prefix/"
54 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --
55 compress --force --whole-file --delete --stats --timeout=180 --
56 exclude=/distfiles --exclude=/local --exclude=/packages"
57 PORTAGE_TMPDIR="/space/dechaume/prefix/var/tmp"
58 PORTDIR="/space/dechaume/prefix/usr/portage"
59 PORTDIR_OVERLAY="/space/dechaume/gentoo/overlay"
60 SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
61 USE="amd64 bzip2 cxx gdbm iconv ipv6 mmx mudflap ncurses nls nptl
62 nptlonly openmp pcre perl prefix python readline sse sse2 sse3 ssl
63 unicode zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
64 ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
65 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
66 ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
67 empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
68 mmap_emul mulaw multi null plug rate route share shm softvol"
69 APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
70 authn_dbm authn_default authn_file authz_dbm authz_default
71 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
72 cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
73 file_cache filter headers include info log_config logio mem_cache mime
74 mime_magic negotiation rewrite setenvif speling status unique_id
75 userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load
76 memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech
77 aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301
78 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf
79 superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse
80 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
81 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18"
82 USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic
83 nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
84 XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset
85 ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
86 logmark ipmark dhcpmac delude chaos account"
87 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
88 LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
89 PORTAGE_RSYNC_EXTRA_OPTS
90
91 =================================================================
92 Package Settings
93 =================================================================
94
95 dev-libs/libxml2-2.7.7 was built with the following:
96 USE="ipv6 (prefix) python readline test -debug -doc -examples"
97
98
99 > emerge --info zlib
100 Portage 2.2.01.15553-prefix (prefix/linux/amd64, gcc-4.2.4,
101 unavailable, 2.6.30.10-105.2.23.fc11.x86_64 x86_64)
102 =================================================================
103 System Settings
104 =================================================================
105 System uname: Linux-2.6.30.10-105.2.23.fc11.x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E5530_@_2.40GHz-with-fedora-11-Leonidas
106 Timestamp of tree: Sun, 03 Oct 2010 21:41:20 +0000
107 ccache version 2.4 [disabled]
108 app-shells/bash: 4.1_p7
109 dev-lang/python: 2.6.5-r2
110 sys-devel/autoconf: 2.65-r1
111 sys-devel/automake: 1.11.1
112 sys-devel/binutils: 2.20.51.0.10
113 sys-devel/gcc: 4.2.4-r01.2, 4.4.4-r1
114 sys-devel/gcc-config: 1.4.1-r00.2
115 sys-devel/libtool: 2.2.10
116 sys-devel/make: 3.81-r2
117 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers)
118 ACCEPT_KEYWORDS="~amd64-linux"
119 ACCEPT_LICENSE="* -@EULA"
120 CBUILD="x86_64-pc-linux-gnu"
121 CFLAGS="-O2 -pipe -march=native"
122 CHOST="x86_64-pc-linux-gnu"
123 CONFIG_PROTECT="/etc"
124 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /
125 etc/revdep-rebuild /etc/terminfo"
126 CXXFLAGS="-O2 -pipe -march=native"
127 DISTDIR="/space/dechaume/prefix/usr/portage/distfiles"
128 FEATURES="assume-digests collision-protect distlocks fixlafiles
129 fixpackages news parallel-fetch preserve-libs protect-owned sfperms
130 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
131 GENTOO_MIRRORS="http://distfiles.gentoo.org"
132 LANG="en_US.UTF-8"
133 LDFLAGS="-Wl,-O1"
134 MAKEOPTS="-j8"
135 PKGDIR="/space/dechaume/prefix/usr/portage/packages"
136 PORTAGE_CONFIGROOT="/space/dechaume/prefix/"
137 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --
138 compress --force --whole-file --delete --stats --timeout=180 --
139 exclude=/distfiles --exclude=/local --exclude=/packages"
140 PORTAGE_TMPDIR="/space/dechaume/prefix/var/tmp"
141 PORTDIR="/space/dechaume/prefix/usr/portage"
142 PORTDIR_OVERLAY="/space/dechaume/gentoo/overlay"
143 SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
144 USE="amd64 bzip2 cxx gdbm iconv ipv6 mmx mudflap ncurses nls nptl
145 nptlonly openmp pcre perl prefix python readline sse sse2 sse3 ssl
146 unicode zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
147 ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
148 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
149 ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
150 empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
151 mmap_emul mulaw multi null plug rate route share shm softvol"
152 APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
153 authn_dbm authn_default authn_file authz_dbm authz_default
154 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
155 cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
156 file_cache filter headers include info log_config logio mem_cache mime
157 mime_magic negotiation rewrite setenvif speling status unique_id
158 userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load
159 memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech
160 aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301
161 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf
162 superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse
163 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
164 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18"
165 USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic
166 nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
167 XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset
168 ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
169 logmark ipmark dhcpmac delude chaos account"
170 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
171 LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
172 PORTAGE_RSYNC_EXTRA_OPTS
173
174 =================================================================
175 Package Settings
176 =================================================================
177
178 sys-libs/zlib-1.2.5-r2 was built with the following:
179 USE="(prefix)"

Replies

Subject Author
Re: [gentoo-alt] libxml2 + zlib problem ? Fabian Groffen <grobian@g.o>