Hi,

there are several problems:

1) libldap in OpenSolaris is very old and uncomplete fork of Mozilla
LDAP C SDK and includes liblber implementation directly, not in separate
library

2) ldap_initialize is OpenLDAP specific, as the whole Cyrus SASL

You can build it with OpenSolaris OpenLDAP in very simple way, just
modify configure and saslauthd/configure scripts, on all places, where
you find "-lldap", use "-lldap-2.4" and in case of "-llber" use
"-llber-2.4"

Best regards,

Milan

Anil píše v út 12. 05. 2009 v 18:43 -0700:
> I installed OpenLDAP on 111a.
> 
> I am trying to compile cyrus-sasl but it fails to find the LDAP libraries, it 
> is looking for ldap_initialize call in those libraries.
> 
> ad...@fans:/usr/lib$ strings libldap* |grep ldap_initialize
> ad...@fans:/usr/lib$ pkg list SUNWopenldap
> NAME (PUBLISHER)                              VERSION         STATE      UFIX
> SUNWopenldap                                  2.4.11-0.111    installed  ----
> ad...@fans:/usr/lib$ 
> 
> 
> On another box where I compiled openldap, I see it in those libs:
> r...@mx2:/usr/local/lib# strings libldap* |grep ldap_initialize
> ldap_initialize
> ldap_initialize
> ldap_initialize
> ldap_initialize
> r...@mx2:/usr/local/lib# 
> 
> It seems like the IPS packages don't have the libldap.a files. How can I 
> request this be added?
> 
> Thanks

_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to