I download python2.6.6 source form http://www.python.org/getit/releases/2.6.6/ After that I run these commands ./configure make
I tried to import zlib but it says no
I solved the problem adding LDFLAGS=-L/usr/lib/x86_64-linux-gnu as configure parameter.
LDFLAGS=-L/usr/lib/x86_64-linux-gnu
configure