Be nice to yourself, use the RPM. If you have compiled the Open LDAP software yourself you will need to use the --with-ldap-prefix=/path/to/ldap with the ./configure to compile gq. The RPM will complain about libraries such as /usr/lib/libldap.so.1 and /usr/lib/liblber.so.1 simply make symbolic links from /lib/libldap.so and /lib/liblber.so to satisfy the dependencies.