Installation de matplotlib sur machine 64bits
Bonjour,
J'avance tout doucement dans l'installation de mon environnement de calcul et je dois maintenant installer matplotlib histoire de pouvoir tracer mes graphes.
Lorsque je lance la build avec python setup.py build, j'obtiens les messages suivants:
Citation:
g++ -pthread -shared build/temp.linux-x86_64-2.7/src/_png.o build/temp.linux-x86_64-2.7/src/mplutils.o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o -L/user/toto/Tools/lib -L/user/toto/Tools/lib -L/usr/local/lib -L/usr/lib -L/user/toto/Tools/lib64 -L/usr/local/lib64 -L/usr/lib64 -lpng15 -lz -lstdc++ -lm -o build/lib.linux-x86_64-2.7/matplotlib/_png.so
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /usr/lib/libm.so lors de la recherche de -lm
/usr/bin/ld: escamotage incompatible /usr/lib/libm.a lors de la recherche de -lm
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libgcc_s.so lors de la recherche de -lgcc_s
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libgcc_s.so lors de la recherche de -lgcc_s
/usr/bin/ld: escamotage incompatible /usr/lib/libpthread.so lors de la recherche de -lpthread
/usr/bin/ld: escamotage incompatible /usr/lib/libpthread.a lors de la recherche de -lpthread
/usr/bin/ld: escamotage incompatible /usr/lib/libc.so lors de la recherche de -lc
/usr/bin/ld: escamotage incompatible /usr/lib/libc.a lors de la recherche de -lc
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libgcc_s.so lors de la recherche de -lgcc_s
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libgcc_s.so lors de la recherche de -lgcc_s
---------------------------------------------------------------------------------------------------------
g++ -pthread -shared build/temp.linux-x86_64-2.7/src/agg_py_transforms.o build/temp.linux-x86_64-2.7/src/_tkagg.o build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-2.7/CXX/cxxsupport.o build/temp.linux-x86_64-2.7/CXX/cxxextensions.o -L/user/toto/Tools/lib -L/user/toto/Tools/lib -L/user/toto/Tools/lib -L/usr/local/lib -L/usr/lib -L/user/toto/Tools/lib64 -L/usr/local/lib64 -L/usr/lib64 -L/user/toto/Tools/lib -L/usr/local/lib -L/usr/lib -L/user/toto/Tools/lib64 -L/usr/local/lib64 -L/usr/lib64 -ltk8.5 -ltcl8.5 -lstdc++ -lm -lfreetype -lz -lstdc++ -lm -o build/lib.linux-x86_64-2.7/matplotlib/backends/_tkagg.so
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /usr/lib/libm.so lors de la recherche de -lm
/usr/bin/ld: escamotage incompatible /usr/lib/libm.a lors de la recherche de -lm
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.so lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libstdc++.a lors de la recherche de -lstdc++
/usr/bin/ld: escamotage incompatible /usr/lib/libm.so lors de la recherche de -lm
/usr/bin/ld: escamotage incompatible /usr/lib/libm.a lors de la recherche de -lm
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libgcc_s.so lors de la recherche de -lgcc_s
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libgcc_s.so lors de la recherche de -lgcc_s
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libgcc_s.so lors de la recherche de -lgcc_s
/usr/bin/ld: escamotage incompatible /usr/lib/libpthread.so lors de la recherche de -lpthread
/usr/bin/ld: escamotage incompatible /usr/lib/libpthread.a lors de la recherche de -lpthread
/usr/bin/ld: escamotage incompatible /usr/lib/libc.so lors de la recherche de -lc
/usr/bin/ld: escamotage incompatible /usr/lib/libc.a lors de la recherche de -lc
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libgcc_s.so lors de la recherche de -lgcc_s
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libgcc_s.so lors de la recherche de -lgcc_s
/usr/bin/ld: escamotage incompatible /user/toto/Tools/lib/libgcc_s.so lors de la recherche de -lgcc_s
Je sais pas trop quoi penser de cette erreur. J'ai bien les libraires libgcc_s.so, libstdc++.so etc, mais il semble que j'ai un petit conflit entre le lib et lib64...
Pour info j'ai dans mon bashrc:
LD_LIBRARY_PATH=/user/toto/Tools/lib64:/user/toto/Tools/lib
Il parait que c'est pas une méthode conseillée alors si un fix propre existe je suis preneur...