Build fails on x86_64
In Makefile there's hardcoded lib dir to 'lib' but on amd64 this directory is named lib64 (well, other 64bit arch possibly also have such name). I've made Makefile patch for PLD Linux distro.
NOTE: if you want specific libdir just pass LIBDIR=%{something} to make while build otherwise 'lib' is used.
Patch is availble here: http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/gajim-makefile.patch