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

Re: Client compile gets boatloads of error messages



At 10:34 AM 5/11/01, Geoffrey Kidd wrote:
>I finally got what looks like a good LDAP2/SSL build to work.  Configure,
>make depend, make all run without errors, except configure complains
>about SASL, which doesn't LOOK serious.

Well, it just means that the build will not support DIGEST-MD5,
LDAPv3's mandatory to implement strong authentication mechanism.

>However, gcc is now churning out error messages by the gross of the form:
>
>>Undefined                       first referenced
>> symbol                             in file
>>SSL_library_init /export/home/regrgk/ldap2/openldap-2.0.7/libraries/libldap.a(tls.o)
>>ERR_error_string /export/home/regrgk/ldap2/openldap-2.0.7/libraries/libldap.a(tls.o)
>>SSL_CTX_set_cipher_list /export/home/regrgk/ldap2/openldap-2.0.7/libraries/libldap.a(tls.o)
>>SSL_CIPHER_get_bits /export/home/regrgk/ldap2/openldap-2.0.7/libraries/libldap.a(tls.o)
>>CRYPTO_free /export/home/regrgk/ldap2/openldap-2.0.7/libraries/libldap.a(tls.o)
>
>So.  NOW what did I do wrong? :)

Looks like you haven't linked in all libraries which -lldap and
-llber depend upon.  In particular, -lssl.