(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Installation : (Category) Platform Hints : (Category) Apple MacOS X : (Answer) How do I fix res_9_query undefined symbol linking errors?
If you follow the basic directions from the OpenLDAP site, you will likely get these errors when you run make with 10.3:
ld: Undefined symbols:
_res_9_dn_expand
_res_9_query
make[2]: *** [dntest] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
This can be addressed by using either:
env ac_cv_func_res_query=no ./configure ...
or
env LIBS="-lresolv" ./configure ...

bil_hays@unc.edu, Kurt@OpenLDAP.org
[Append to This Answer]
Next: (Answer) Where can I find more detailed instructions on how to build OpenLDAP Software, and prerequistes, on MacOS X?
This document is: http://www.openldap.org/faq/index.cgi?file=1191
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org