On Aug 29, 2007, at 1:59 PM, Hardeep Nahal wrote: > > build/temp.linux-x86_64-2.3/src/_na_backend_agg.o -L/usr/local/lib > -L/usr/lib -L/usr/lib64 -L/usr/local/lib -L/usr/lib -L/usr/lib64 -lpng > -lz -lstdc++ -lm -lfreetype -lz -lstdc++ -lm -o > build/lib.linux-x86_64-2.3/matplotlib/backends/_na_backend_agg.so > /usr/bin/ld: /usr/local/lib/libpng.a(png.o): relocation R_X86_64_32 > against `a local symbol' can not be used when making a shared object; > recompile with -fPIC > /usr/local/lib/libpng.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > error: command 'c++' failed with exit status 1
You need to either recompile libpng so it builds a shared library or delete `/usr/local/lib/libpng.a' so gcc picks up the default version provided by Debian. > I think this Debian distribution of matplotlib (which is older than > the current release) is incompatible with the current version of > numpy/Numeric that I have installed, but I'm not sure. I would rather > have the latest matplotlib vesrion installed (version 0.90.1), but I > can't seem to get it to even build properly. Did you install your own copy of numpy or are you using the one that comes with Debian? If you're using the one that comes with Debian, I'll try to reproduce the problem and file a bug report. Ken ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel