[Tutor] freeze

col speed ajarncolin at gmail.com
Mon Jun 29 07:26:36 CEST 2009


HI Guys,
I have a small programme, called shop.py,  that I wish to make into a
"frozen binary" ( I think that's right - I'm using Linux Ubuntu 9.04
and I want the programme to work on a windows computer that doesn't
have Python installed).
I used freeze.py from examples/Tools and everything seemed to be going
well (I won't post the output as there is so much), but the last lines
are:

o M_xml__sax__xmlreader.o M_xmllib.o M_xmlrpclib.o
/usr/lib/python2.6/config/libpython2.6.a -L/usr/lib -lz  -lpthread
-ldl  -lutil -lm  -o shop
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [shop] Error 1

Any ideas of what is going wrong?

I would also like to ask your opinion - the programme is very small
(only 1.2kb!). Is there another way ? Am I totally wasting my time?

Many thanks
Colin


More information about the Tutor mailing list