Dave Gresham <[EMAIL PROTECTED]> schrieb: 
>
>While Trying to Compile Qmail-1.03 with the latest Qmail-ldap Patch
>dated 03/2003 on Solaris 8 (Sparc).
>I am using Openldap 2.0.25 
>
>Here are the Lines I have changed to the Makefile:
>
># Perhaps you have different ldap libraries, change them here
>LDAPLIBS=-L/applications/ALL/lib -lldap -llber
>-R/applications/ALL/lib
># and change the location of the include files here
>LDAPINCLUDES=-I/applications/openldap/common/include
>
>
>
>
>
>When I do the make set-up check I get the following:
>
>
>./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o control.o \
>check.o qldap-ldaplib.o qldap-debug.o output.o sig.a strerr.a
>constmap.o \
>getln.a wait.a case.a cdb.a fd.a seek.a open.a env.a stralloc.a
>alloc.a \
>substdio.a str.a qldap-errno.o error.a fs.a auto_qmail.o \
>auto_uids.o auto_usera.o auto_spawn.o auto_break.o
>-L/applications/ALL/lib -lld
>p -llber -R/applications/ALL/lib
>Undefined                       first referenced
> symbol                             in file
>SSL_library_init                    /applications/ALL/lib/libldap.so
>ERR_error_string                    /applications/ALL/lib/libldap.so
>SSL_CTX_set_cipher_list             /applications/ALL/lib/libldap.so
>SSL_CIPHER_get_bits                 /applications/ALL/lib/libldap.so
>CRYPTO_free                         /applications/ALL/lib/libldap.so
>X509V3_add_standard_extensions      /applications/ALL/lib/libldap.so
>X509_get_issuer_name                /applications/ALL/lib/libldap.so
>SSLv23_method                       /applications/ALL/lib/libldap.so
>X509_STORE_CTX_get_current_cert     /applications/ALL/lib/libldap.so
>SSL_shutdown                        /applications/ALL/lib/libldap.so
>ERR_free_strings                    /applications/ALL/lib/libldap.so
>X509_free                           /applications/ALL/lib/libldap.so
>SSL_state_string_long               /applications/ALL/lib/libldap.so
>X509_STORE_CTX_get_error_depth      /applications/ALL/lib/libldap.so
>SSL_CTX_use_PrivateKey_file         /applications/ALL/lib/libldap.so
>RAND_load_file                      /applications/ALL/lib/libldap.so
>SSL_CTX_set_tmp_rsa_callback        /applications/ALL/lib/libldap.so
>SSL_CTX_set_verify                  /applications/ALL/lib/libldap.so
>X509_STORE_CTX_get_error            /applications/ALL/lib/libldap.so
>SSL_CTX_check_private_key           /applications/ALL/lib/libldap.so
>SSL_CTX_free                        /applications/ALL/lib/libldap.so
>SSL_alert_type_string_long          /applications/ALL/lib/libldap.so
>X509_get_ext                        /applications/ALL/lib/libldap.so
>SSL_load_error_strings              /applications/ALL/lib/libldap.so
>ASN1_STRING_data                    /applications/ALL/lib/libldap.so
>SSL_alert_desc_string_long          /applications/ALL/lib/libldap.so
>X509_NAME_get_text_by_NID           /applications/ALL/lib/libldap.so
>SSL_get_current_cipher              /applications/ALL/lib/libldap.so
>RAND_write_file                     /applications/ALL/lib/libldap.so
>RAND_status                         /applications/ALL/lib/libldap.so
>SSL_CTX_set_client_CA_list          /applications/ALL/lib/libldap.so
>RAND_egd                            /applications/ALL/lib/libldap.so
>X509V3_EXT_get                      /applications/ALL/lib/libldap.so
>SSL_CTX_use_certificate_file        /applications/ALL/lib/libldap.so
>X509_get_ext_by_NID                 /applications/ALL/lib/libldap.so
>SSL_set_bio                         /applications/ALL/lib/libldap.so
>SSL_connect                         /applications/ALL/lib/libldap.so
>RAND_file_name                      /applications/ALL/lib/libldap.so
>SSL_CTX_new                         /applications/ALL/lib/libldap.so
>X509_get_subject_name               /applications/ALL/lib/libldap.so
>EVP_cleanup                         /applications/ALL/lib/libldap.so
>RSA_generate_key                    /applications/ALL/lib/libldap.so
>ASN1_STRING_length                  /applications/ALL/lib/libldap.so
>SSL_CTX_set_default_verify_paths    /applications/ALL/lib/libldap.so
>SSL_write                           /applications/ALL/lib/libldap.so
>SSL_CTX_load_verify_locations       /applications/ALL/lib/libldap.so
>SSL_new                             /applications/ALL/lib/libldap.so
>BIO_new                             /applications/ALL/lib/libldap.so
>SSL_get_error                       /applications/ALL/lib/libldap.so
>sk_value                            /applications/ALL/lib/libldap.so
>ERR_get_error_line                  /applications/ALL/lib/libldap.so
>SSL_load_client_CA_file             /applications/ALL/lib/libldap.so
>SSL_free                            /applications/ALL/lib/libldap.so
>X509V3_EXT_d2i                      /applications/ALL/lib/libldap.so
>SSL_pending                         /applications/ALL/lib/libldap.so
>ERR_peek_error                      /applications/ALL/lib/libldap.so
>SSL_get_peer_certificate            /applications/ALL/lib/libldap.so
>SSL_read                            /applications/ALL/lib/libldap.so
>sk_num                              /applications/ALL/lib/libldap.so
>SSL_accept                          /applications/ALL/lib/libldap.so
>X509_NAME_oneline                   /applications/ALL/lib/libldap.so
>ld: fatal: Symbol referencing errors. No output written to
>qmail-lspawn
>collect2: ld returned 1 exit status
>*** Error code 1
>make: Fatal error: Command failed for target `qmail-lspawn'
>
>Any Help would be appreciated.
>
>Thank you.
>
>:wq!
You use the wrong editor!! ;)

It looks like your ldap libraries are linked against openssl. Don't which
librarie it is. But all symbols look like something from openssl. SO you
need to add your openssl to LDAPLIBS too.

Hope this helps.

Cu



Reply via email to