1 |
On 5 oct. 10, at 09:24, Fabian Groffen wrote: |
2 |
|
3 |
> On 04-10-2010 15:49:00 +0200, Antoine Dechaume wrote: |
4 |
>> Hi, |
5 |
>> |
6 |
>> I am not sure this problem is related to gentoo, sorry about that if |
7 |
>> it happens to be unrelated... |
8 |
>> |
9 |
>> I have a C++ code linked to libxml2, and used through a python |
10 |
>> wrapper, whenever I try to load the python module I get: |
11 |
>> ImportError: /space/dechaume/prefix/usr/lib/libxml2.so.2: symbol |
12 |
>> gzopen64, version ZLIB_1.2.3.3 not defined in file libz.so.1 with |
13 |
>> link |
14 |
>> time reference |
15 |
> |
16 |
> can you run the following commnds: |
17 |
> % scanelf --needed /space/dechaume/prefix/usr/lib/libxml2.so.2 |
18 |
> % scanelf --rpath /space/dechaume/prefix/usr/lib/libxml2.so.2 |
19 |
> |
20 |
> scanelf --needed /space/dechaume/prefix/usr/lib/libxml2.so.2 |
21 |
TYPE NEEDED FILE |
22 |
ET_DYN libdl.so.2,libz.so.1,libm.so.6,libc.so.6 /space/dechaume/prefix/ |
23 |
usr/lib/libxml2.so.2 |
24 |
|
25 |
> scanelf --rpath /space/dechaume/prefix/usr/lib/libxml2.so.2 |
26 |
TYPE RPATH FILE |
27 |
ET_DYN /space/dechaume/prefix/usr/x86_64-pc-linux-gnu/lib/gcc:/space/ |
28 |
dechaume/prefix/usr/x86_64-pc-linux-gnu/lib:/space/dechaume/prefix/usr/ |
29 |
lib:/space/dechaume/prefix/lib /space/dechaume/prefix/usr/lib/ |
30 |
libxml2.so.2 |
31 |
|
32 |
> also try to locate the python module that you include, and run the |
33 |
> same |
34 |
> commands on it. |
35 |
> |
36 |
> |
37 |
|
38 |
> scanelf --needed _FSDataManager.so |
39 |
TYPE NEEDED FILE |
40 |
ET_DYN |
41 |
libFSCommon |
42 |
.so |
43 |
,libFSBoundaryCondition |
44 |
.so |
45 |
,libFSMesh |
46 |
.so |
47 |
,libFSDataLog |
48 |
.so |
49 |
,libFSRelationsModel |
50 |
.so,libFSGeometry.so,libFSDataManager.so,libpthread.so.0,libdl.so. |
51 |
2,libutil.so.1,libpython2.6.so.1.0,libmpi.so.0,libhdf5_hl.so. |
52 |
0,libhdf5.so.0,libnetcdf.so.4,libcgns.so.2,libxml2.so.2,libparmetis.so. |
53 |
2,libmetis.so.4,libdamas.so,libmutil.so,liberrare.so,libsda.so,libstdc+ |
54 |
+.so.6,libm.so.6,libgcc_s.so.1,libc.so.6 _FSDataManager.so |
55 |
|
56 |
> scanelf --rpath _FSDataManager.so |
57 |
TYPE RPATH FILE |
58 |
ET_DYN /space/dechaume/prefix/usr/x86_64-pc-linux-gnu/lib/gcc:/space/ |
59 |
dechaume/prefix/usr/x86_64-pc-linux-gnu/lib:/space/dechaume/prefix/usr/ |
60 |
lib:/space/dechaume/prefix/lib _FSDataManager.so |
61 |
|
62 |
|
63 |
Thanks, |
64 |
Antoine. |
65 |
|
66 |
> -- |
67 |
> Fabian Groffen |
68 |
> Gentoo on a different level |
69 |
> |