[ldapvi] cannot compile on solaris

silly_sad sad at bankir.ru
Thu Mar 29 16:07:13 CEST 2007


David Lichteblau wrote:
> Hi,
> 
> Quoting silly_sad (sad at bankir.ru):
>> checking for main in -lldap... yes
>> checking for ldap_initialize in -lldap... no
>> configure: error: libldap present but obsolete
> 
> okay, that is because libldap from OpenLDAP >= 2.1 is required.

:-)
i have 2.3 BUT in the location
/opt/csw/lib/libldap.so

because of CSW OpenLDAP pakage has its own location policy which i ought
to follow

and i also ought to keep native solaris libldap.so in /usr/lib/

So the question is:
How to tell the ldapvi/configure to look for libldap.so in different
location ?

maybe --with-ldap=BASEDIR_OF_LDAP option would be useful ?





More information about the ldapvi mailing list