Since wine 1.2.23 which is in the repository doesn't support my games installers and I don't want to revert back to version 1 I decided to build wine myself. I did this many times before and I never had a problem with it on ubuntu 8.10 x64. But now with 9.04 it won't work any more since it can't find the freetype library. The weird thing is when I go to the directory '/usr/lib32/' libfreetype.a is there. I tried to add it to the library search path manually with no succes. Here is a part of the configure output that contains the info about the error.
Now I can disable freetype and it works but there must be a reason freetype is included? Won't it make fonts ugly or something?
checking for sane/sane.h... yes
checking for -lsane... libsane.so.1
checking for gphoto2-config... gphoto2-config
checking for gphoto2-port-config... gphoto2-port-config
checking gphoto2-camera.h usability... yes
checking gphoto2-camera.h presence... yes
checking for gphoto2-camera.h... yes
checking for gp_camera_new in -lgphoto2... yes
checking for cmsOpenProfileFromFile in -llcms... yes
checking for freetype-config... freetype-config
checking for -lfreetype... not found
configure: error: FreeType 32-bit development files not found. Fonts will not be built.
Use the --without-freetype option if you really want this.