(from comment in Ubuntu Lucid page) Why zlib1g-dev package is needed? There is some strange if you have obtained a 2.6.32.14-ovz32 kernel, when with the guide you should be compiling at least for 2.6.32.22-openvz. Have you seen the updated guide? --Narcis Garcia 10:06, 4 November 2010 (UTC)
I can't say why it was needed other than the compile failed with a missing zlib.h, if I recall correctly. I followed the instructions on the web site. I can't say for sure how I arrived at 2.6.32.14 but I recall having some difficulty locating the kernel source. I will go back and see if I can find a newer kernel and try again. Thanks, Jim.
We can follow better these issues in a forum thread, such as in Ubuntu's --Narcis Garcia 13:34, 4 November 2010 (UTC)