Re: [matplotlib-devel] matplotlib installation error

2007-08-30 Thread Ken McIvor
On Aug 29, 2007, at 5:12 PM, Hardeep Nahal wrote: > > Yes, I think my libpng library was corrupt, but when I tried > reinstalling, it still wouldn't work. It's not corrupt, it's just not the correct kind of library. There are two types: static libraries (.a), which get compiled into a program

Re: [matplotlib-devel] matplotlib installation error

2007-08-29 Thread Hardeep Nahal
Yes, I think my libpng library was corrupt, but when I tried reinstalling, it still wouldn't work. So I deleted it, as Ken suggested, and it worked. I think it wasn't finding the default libpng, and was going straight to the corrupted version. I spent the whole day trying to figure this out

Re: [matplotlib-devel] matplotlib installation error

2007-08-29 Thread Ken McIvor
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_ba

Re: [matplotlib-devel] matplotlib installation error

2007-08-29 Thread Jouni K . Seppänen
Hardeep Nahal <[EMAIL PROTECTED]> writes: > /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 That sounds like your libpng library is broken. Since it is in /usr/local/lib, it is proba

[matplotlib-devel] matplotlib installation error

2007-08-29 Thread Hardeep Nahal
Hi, I have been having problems trying to install matplotlib properly on our server. Our environment is Debian 4.1.1-21, Python2.4 , and I have installed all the required modules (numpy, Numeric etc). I originally tried installing matplotlib from source, but the build was unsuccessful. I