Hello everyone,

I have a small problem installing the latest release of matplotlib. The following problem occurs during building (I just used 'pip install matplotlib' for it):

   /opt/pkg/compiler/gnu/gcc/4.7.1/bin/g++-4.7.1 -pthread -shared
   build/temp.linux-x86_64-2.7/src/_image.o
   build/temp.linux-x86_64-2.7/src/mplutils.o
   build/temp.linux-x86_64-2.7/agg24/src/agg_bezier_arc.o
   build/temp.linux-x86_64-2.7/agg24/src/agg_curves.o
   build/temp.linux-x86_64-2.7/agg24/src/agg_image_filters.o
   build/temp.linux-x86_64-2.7/agg24/src/agg_trans_affine.o
   build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_contour.o
   build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_dash.o
   build/temp.linux-x86_64-2.7/agg24/src/agg_vcgen_stroke.o
   build/temp.linux-x86_64-2.7/agg24/src/agg_vpgen_segmentator.o
   build/temp.linux-x86_64-2.7/CXX/cxx_extensions.o
   build/temp.linux-x86_64-2.7/CXX/cxxsupport.o
   build/temp.linux-x86_64-2.7/CXX/IndirectPythonInterface.o
   build/temp.linux-x86_64-2.7/CXX/cxxextensions.o -L/usr/local/lib
   -L/usr/lib -L/usr/lib64 -lstdc++ -lm -o
   build/lib.linux-x86_64-2.7/matplotlib/_image.so

   /usr/bin/ld: /usr/lib/libm.a(s_sin.o): relocation R_X86_64_32S
   against `__sincostab' can not be used when making a shared object;
   recompile with -fPIC


I don't really understand the problem. Is it possible that the libary is to old or the standard libm.a isn't compiled the right way?
I'm trying to build it on a server:

   Distributor ID:    Ubuntu
   Description:    Ubuntu 12.04.2 LTS
   Release:    12.04
   Codename:    precise


Do you know a way how to avoid it and not trying to build a new libm or something similar?

Thank you.

Best regards,
Anton
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to