Hi everyone,
I am trying to install the latest version of matplotlib from svn. However, after cd-ing into the matplotlib directory, and running “python setup.py install --prefix=${path}”, I get the following error:
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
error: command ‘c++’ failed with exit status 1
I don’t really understand what I need to do from this error message. Does it mean that I have to install ‘zlib’? I am using python 2.4.3, and numpy 1.2.1.
Thanks,
Jack