For general info, I was able to compile Geany (0.7.1) successfully from tarball on a 64-bit arch (Intel Xeon running RH Enterprise Linux 4). As I recall, the only tweaking required was that I had to point the linker explicitly to /usr/lib64 with:
LDFLAGS=-Wl,-rpath /usr/lib64
as it would otherwise search for some system libs (can't recall which...) in /usr/lib and reject them as incompatible.
Regards,