Quanah Gibson-Mount writes:
I have never encountered this issue, even though all of those 16 boxes have the ldap libraries installed in /usr/lib. My files end up being linked correctly.
s/even though/because/. At least if this is the problem which bit me: ./configure LDFLAGS="<-L and -Wl,-rpath,><directory with OpenLDAP libs>"