[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Problem linking other applications to openldap



Devdas Bhagat wrote:

> I just tried to compile Proftpd-1.2RC3 against OpenLDAP-2.0.7. I get
> the errors:
> /usr/local/lib/openldap.so: undefined reference to `res_query'
> /usr/local/lib/openldap.so: undefined reference to `dn_expand'

You need to add -lresolv as in your compiled libldap/liblber

Regards, Pierangelo.

--
Dr. Pierangelo Masarati               | voice: +39 02 2399 8365
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   | http://www.aero.polimi.it/~masarati