Ruby-ldap 0.9.7 build failure

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