# Ruby-ldap 0.9.7 build failure

**URL:** <https://www.ruby-forum.com/t/ruby-ldap-0-9-7-build-failure/118103>\
**Category:** Ruby\
**Created:** [October 23, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/ruby-ldap-0-9-7-build-failure/118103 "2007-10-23T22:15:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c57346/32.png) [@danielb](https://www.ruby-forum.com/u/danielb)\
**Post date:** [October 23, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/ruby-ldap-0-9-7-build-failure/118103/1 "2007-10-23T22:15:35Z")

</div>

Solaris 10  
Sun Studio 12  
ruby-ldap 0.9.7

djberge-/export/home/djberge/src/ruby/ruby-ldap-0.9.7-518\>ruby  
extconf.rb --with-ldap-dir=/opt/csw  
–with-openldap2  
checking for ldap.h… yes  
checking for lber.h… yes  
checking for ldap\_ssl.h… no  
checking for openssl/ssl.h… yes  
checking for openssl/crypto.h… yes  
checking for main() in -lcrypto… yes  
checking for main() in -lssl… yes  
checking for main() in -lnsl… yes  
checking for main() in -lpthread… yes  
checking for main() in -lresolv… yes  
checking for main() in -llber… yes  
checking for main() in -lldap\_r… yes  
checking for main() in -lldap… yes  
checking for ldap\_init()… yes  
checking for ldap\_set\_option()… yes  
checking for ldap\_get\_option()… yes  
checking for ldap\_start\_tls\_s()… yes  
checking for ldap\_memfree()… yes  
checking for ldap\_perror()… yes  
checking for ldap\_sort\_entries()… yes  
checking for ldapssl\_init()… no  
checking for ldap\_sslinit()… no  
checking for ldap\_sasl\_bind\_s()… yes  
checking for ldap\_compare\_s()… yes  
checking for ldap\_add\_ext\_s()… yes  
checking for ldap\_compare\_ext\_s()… yes  
checking for ldap\_delete\_ext\_s()… yes  
checking for ldap\_modify\_ext\_s()… yes  
checking for ldap\_search\_ext\_s()… yes  
checking for ldap\_unbind\_ext\_s()… yes  
checking for ldap\_sasl\_interactive\_bind\_s()… yes  
creating Makefile  
…  
saslconn.c  
“saslconn.c”, line 63: undefined symbol: LDAP\_SASL\_AUTOMATIC  
“saslconn.c”, line 92: undefined symbol: LDAP\_SASL\_QUIET  
cc: acomp failed for saslconn.c  
\*\*\* Error code 2

Regards,

Dan
