Hello. I'm having the following problem when building OpenSSL with Kerberos support, both 0.9.8l and 1.0.0beta4, on Intel Mac OS 10.5.8. I'm able to build both versions if I use --no-krb5, though. What should I be looking for in order to fix this build problem? Any pointers are greatly appreciated.

$ PERL=/usr/bin/perl ./Configure shared darwin-i386-cc zlib-dynamic -- with-krb5-flavor=MIT --with-krb5-dir=/usr
(...)
make
(...)
cc -I../crypto -I.. -I../include -I/usr/include -fPIC -fno-common - DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT - DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -arch i386 -O3 -fomit-frame- pointer -DL_ENDIAN -c -o kssl.o kssl.c ar r ../libssl.a s2_meth.o s2_srvr.o s2_clnt.o s2_lib.o s2_enc.o s2_pkt.o s3_meth.o s3_srvr.o s3_clnt.o s3_lib.o s3_enc.o s3_pkt.o s3_both.o s23_meth.o s23_srvr.o s23_clnt.o s23_lib.o s23_pkt.o t1_meth.o t1_srvr.o t1_clnt.o t1_lib.o t1_enc.o d1_meth.o d1_srvr.o d1_clnt.o d1_lib.o d1_pkt.o d1_both.o d1_enc.o ssl_lib.o ssl_err2.o ssl_cert.o ssl_sess.o ssl_ciph.o ssl_stat.o ssl_rsa.o ssl_asn1.o ssl_txt.o ssl_algs.o bio_ssl.o ssl_err.o kssl.o
ar: creating archive ../libssl.a
/usr/bin/ranlib ../libssl.a || echo Never mind.
Undefined symbols:
  "_EC_KEY_get0_group", referenced from:
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_client_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
  "_pqueue_next", referenced from:
      _dtls1_read_failed in libssl.a(d1_both.o)
      _dtls1_read_failed in libssl.a(d1_both.o)
  "_OPENSSL_DIR_read", referenced from:
      _SSL_add_dir_cert_subjects_to_stack in libssl.a(ssl_cert.o)
  "_X509_VERIFY_PARAM_set_purpose", referenced from:
      _SSL_CTX_set_purpose in libssl.a(ssl_lib.o)
      _SSL_set_purpose in libssl.a(ssl_lib.o)
  "_EVP_CIPHER_CTX_key_length", referenced from:
      _ssl2_mac in libssl.a(s2_enc.o)
  "_pqueue_peek", referenced from:
      _dtls1_get_record in libssl.a(d1_pkt.o)
      _dtls1_get_record in libssl.a(d1_pkt.o)
      _dtls1_get_message_fragment in libssl.a(d1_both.o)
  "_EVP_Cipher", referenced from:
      _ssl2_enc in libssl.a(s2_enc.o)
      _ssl3_enc in libssl.a(s3_enc.o)
      _tls1_enc in libssl.a(t1_enc.o)
      _dtls1_enc in libssl.a(d1_enc.o)
      _kssl_check_authent in libssl.a(kssl.o)
  "_krb5_decrypt_tkt_part", referenced from:
      _kssl_sget_tkt in libssl.a(kssl.o)
  "_EVP_CIPHER_iv_length", referenced from:
      _client_master_key in libssl.a(s2_clnt.o)
      _ssl3_change_cipher_state in libssl.a(s3_enc.o)
      _ssl3_setup_key_block in libssl.a(s3_enc.o)
      _tls1_change_cipher_state in libssl.a(t1_enc.o)
      _tls1_setup_key_block in libssl.a(t1_enc.o)
  "_EVP_CIPHER_flags", referenced from:
      _do_dtls1_write in libssl.a(d1_pkt.o)
  "_EC_KEY_free", referenced from:
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_client_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_client_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_get_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_free in libssl.a(s3_lib.o)
      _ssl3_clear in libssl.a(s3_lib.o)
      _ssl3_ctrl in libssl.a(s3_lib.o)
      _ssl3_ctrl in libssl.a(s3_lib.o)
      _ssl3_ctx_ctrl in libssl.a(s3_lib.o)
      _ssl3_ctx_ctrl in libssl.a(s3_lib.o)
      _ssl_cert_dup in libssl.a(ssl_cert.o)
      _ssl_cert_free in libssl.a(ssl_cert.o)
      _ssl_sess_cert_free in libssl.a(ssl_cert.o)
  "_BUF_memdup", referenced from:
      _ssl3_get_cert_status in libssl.a(s3_clnt.o)
  "_EC_KEY_up_ref", referenced from:
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_ctrl in libssl.a(s3_lib.o)
  "_BIO_clear_flags", referenced from:
      _ssl3_read_bytes in libssl.a(s3_pkt.o)
      _dtls1_read_bytes in libssl.a(d1_pkt.o)
      _ssl_read in libssl.a(bio_ssl.o)
      _ssl_write in libssl.a(bio_ssl.o)
      _ssl_ctrl in libssl.a(bio_ssl.o)
      _ssl_ctrl in libssl.a(bio_ssl.o)
  "_X509_STORE_CTX_get0_param", referenced from:
      _ssl_verify_cert_chain in libssl.a(ssl_cert.o)
  "_pitem_free", referenced from:
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_buffer_record in libssl.a(d1_pkt.o)
      _dtls1_buffer_record in libssl.a(d1_pkt.o)
      _dtls1_retrieve_buffered_record in libssl.a(d1_pkt.o)
      _dtls1_clear_record_buffer in libssl.a(d1_both.o)
      _dtls1_get_message_fragment in libssl.a(d1_both.o)
      _dtls1_get_message in libssl.a(d1_both.o)
  "_BIO_test_flags", referenced from:
      _SSL_get_error in libssl.a(ssl_lib.o)
      _SSL_get_error in libssl.a(ssl_lib.o)
      _SSL_get_error in libssl.a(ssl_lib.o)
      _SSL_get_error in libssl.a(ssl_lib.o)
      _SSL_get_error in libssl.a(ssl_lib.o)
      _SSL_get_error in libssl.a(ssl_lib.o)
  "_BIO_method_type", referenced from:
      _SSL_set_wfd in libssl.a(ssl_lib.o)
      _SSL_set_rfd in libssl.a(ssl_lib.o)
  "_X509_VERIFY_PARAM_get_depth", referenced from:
      _SSL_get_verify_depth in libssl.a(ssl_lib.o)
      _SSL_CTX_get_verify_depth in libssl.a(ssl_lib.o)
      _SSL_dup in libssl.a(ssl_lib.o)
  "_ECDSA_sign", referenced from:
      _ssl3_send_client_verify in libssl.a(s3_clnt.o)
  "_EVP_MD_CTX_md", referenced from:
      _ssl3_handshake_mac in libssl.a(s3_enc.o)
      _ssl3_handshake_mac in libssl.a(s3_enc.o)
  "_krb5_kt_free_entry", referenced from:
      _kssl_keytab_is_available in libssl.a(kssl.o)
      _kssl_sget_tkt in libssl.a(kssl.o)
  "_X509_STORE_CTX_set_default", referenced from:
      _ssl_verify_cert_chain in libssl.a(ssl_cert.o)
  "_EVP_MD_CTX_set_flags", referenced from:
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_init_finished_mac in libssl.a(s3_enc.o)
      _ssl3_handshake_mac in libssl.a(s3_enc.o)
      _ssl3_setup_key_block in libssl.a(s3_enc.o)
  "_EVP_CIPHER_CTX_iv_length", referenced from:
      _ssl3_send_newsession_ticket in libssl.a(s3_srvr.o)
      _ssl3_send_newsession_ticket in libssl.a(s3_srvr.o)
      _tls1_process_ticket in libssl.a(t1_lib.o)
      _tls1_process_ticket in libssl.a(t1_lib.o)
  "_EVP_CIPHER_block_size", referenced from:
      _ssl3_enc in libssl.a(s3_enc.o)
      _tls1_enc in libssl.a(t1_enc.o)
      _do_dtls1_write in libssl.a(d1_pkt.o)
      _dtls1_enc in libssl.a(d1_enc.o)
      _dtls1_enc in libssl.a(d1_enc.o)
      _dtls1_enc in libssl.a(d1_enc.o)
  "_EVP_sha256", referenced from:
      _ssl3_send_newsession_ticket in libssl.a(s3_srvr.o)
      _tls1_process_ticket in libssl.a(t1_lib.o)
  "_i2d_X509_EXTENSIONS", referenced from:
      _ssl_add_clienthello_tlsext in libssl.a(t1_lib.o)
      _ssl_add_clienthello_tlsext in libssl.a(t1_lib.o)
  "_X509_VERIFY_PARAM_set_trust", referenced from:
      _SSL_CTX_set_trust in libssl.a(ssl_lib.o)
      _SSL_set_trust in libssl.a(ssl_lib.o)
  "_X509_VERIFY_PARAM_free", referenced from:
      _SSL_CTX_free in libssl.a(ssl_lib.o)
      _SSL_free in libssl.a(ssl_lib.o)
  "_krb5_rc_initialize", referenced from:
      _get_rc_clockskew in libssl.a(kssl.o)
      _kssl_validate_times in libssl.a(kssl.o)
  "_EC_KEY_generate_key", referenced from:
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_ctrl in libssl.a(s3_lib.o)
      _ssl3_ctx_ctrl in libssl.a(s3_lib.o)
  "_EC_GROUP_get_curve_name", referenced from:
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
  "_EC_KEY_set_private_key", referenced from:
      _ssl3_get_client_key_exchange in libssl.a(s3_srvr.o)
  "_pqueue_new", referenced from:
      _dtls1_new in libssl.a(d1_lib.o)
      _dtls1_new in libssl.a(d1_lib.o)
      _dtls1_new in libssl.a(d1_lib.o)
      _dtls1_new in libssl.a(d1_lib.o)
  "_pqueue_pop", referenced from:
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_retrieve_buffered_record in libssl.a(d1_pkt.o)
      _dtls1_clear_record_buffer in libssl.a(d1_both.o)
      _dtls1_get_message_fragment in libssl.a(d1_both.o)
      _dtls1_get_message in libssl.a(d1_both.o)
  "_EC_KEY_set_group", referenced from:
      _ssl3_get_client_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
  "_EC_GROUP_get_degree", referenced from:
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_client_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
  "_X509_VERIFY_PARAM_inherit", referenced from:
      _SSL_new in libssl.a(ssl_lib.o)
      _SSL_dup in libssl.a(ssl_lib.o)
      _ssl_verify_cert_chain in libssl.a(ssl_cert.o)
  "_EVP_CIPHER_CTX_block_size", referenced from:
      _ssl2_read_internal in libssl.a(s2_pkt.o)
      _ssl2_write in libssl.a(s2_pkt.o)
  "_X509_VERIFY_PARAM_set_depth", referenced from:
      _SSL_set_verify_depth in libssl.a(ssl_lib.o)
      _SSL_CTX_set_verify_depth in libssl.a(ssl_lib.o)
      _SSL_dup in libssl.a(ssl_lib.o)
  "_pitem_new", referenced from:
      _dtls1_buffer_record in libssl.a(d1_pkt.o)
      _dtls1_get_message_fragment in libssl.a(d1_both.o)
      _dtls1_buffer_message in libssl.a(d1_both.o)
  "_pqueue_find", referenced from:
      _dtls1_retransmit_message in libssl.a(d1_both.o)
  "_EVP_idea_cbc", referenced from:
      _SSL_library_init in libssl.a(ssl_algs.o)
  "_X509_VERIFY_PARAM_new", referenced from:
      _SSL_CTX_new in libssl.a(ssl_lib.o)
      _SSL_new in libssl.a(ssl_lib.o)
  "_pqueue_insert", referenced from:
      _dtls1_buffer_record in libssl.a(d1_pkt.o)
      _dtls1_get_message_fragment in libssl.a(d1_both.o)
      _dtls1_buffer_message in libssl.a(d1_both.o)
  "_pqueue_free", referenced from:
      _dtls1_new in libssl.a(d1_lib.o)
      _dtls1_new in libssl.a(d1_lib.o)
      _dtls1_new in libssl.a(d1_lib.o)
      _dtls1_new in libssl.a(d1_lib.o)
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_free in libssl.a(d1_lib.o)
      _dtls1_free in libssl.a(d1_lib.o)
  "_EVP_MD_size", referenced from:
      _ssl2_generate_key_material in libssl.a(s2_lib.o)
      _ssl2_generate_key_material in libssl.a(s2_lib.o)
      _ssl2_generate_key_material in libssl.a(s2_lib.o)
      _ssl2_read_internal in libssl.a(s2_pkt.o)
      _ssl2_write in libssl.a(s2_pkt.o)
      _ssl3_change_cipher_state in libssl.a(s3_enc.o)
      _ssl3_handshake_mac in libssl.a(s3_enc.o)
      _ssl3_mac in libssl.a(s3_enc.o)
      _ssl3_setup_key_block in libssl.a(s3_enc.o)
      _do_ssl3_write in libssl.a(s3_pkt.o)
      _ssl3_read_bytes in libssl.a(s3_pkt.o)
      _tls1_process_ticket in libssl.a(t1_lib.o)
      _tls1_P_hash in libssl.a(t1_enc.o)
      _tls1_enc in libssl.a(t1_enc.o)
      _tls1_enc in libssl.a(t1_enc.o)
      _tls1_mac in libssl.a(t1_enc.o)
      _tls1_mac in libssl.a(t1_enc.o)
      _tls1_change_cipher_state in libssl.a(t1_enc.o)
      _tls1_setup_key_block in libssl.a(t1_enc.o)
      _do_dtls1_write in libssl.a(d1_pkt.o)
      _dtls1_process_record in libssl.a(d1_pkt.o)
      _dtls1_enc in libssl.a(d1_enc.o)
      _dtls1_enc in libssl.a(d1_enc.o)
  "_EC_KEY_dup", referenced from:
      _ssl3_ctx_ctrl in libssl.a(s3_lib.o)
      _ssl_cert_dup in libssl.a(ssl_cert.o)
  "_ECDSA_verify", referenced from:
      _ssl3_get_cert_verify in libssl.a(s3_srvr.o)
  "_ENGINE_load_ssl_client_cert", referenced from:
      _ssl_do_client_cert_cb in libssl.a(s3_clnt.o)
      _ssl3_send_client_certificate in libssl.a(s3_clnt.o)
  "_EVP_CIPHER_key_length", referenced from:
      _get_client_master_key in libssl.a(s2_srvr.o)
      _get_client_master_key in libssl.a(s2_srvr.o)
      _get_client_master_key in libssl.a(s2_srvr.o)
      _client_master_key in libssl.a(s2_clnt.o)
      _ssl3_change_cipher_state in libssl.a(s3_enc.o)
      _ssl3_setup_key_block in libssl.a(s3_enc.o)
      _tls1_change_cipher_state in libssl.a(t1_enc.o)
      _tls1_change_cipher_state in libssl.a(t1_enc.o)
      _tls1_setup_key_block in libssl.a(t1_enc.o)
  "_EC_KEY_new", referenced from:
      _ssl3_get_client_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
  "_EC_KEY_get0_private_key", referenced from:
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_client_key_exchange in libssl.a(s3_srvr.o)
  "_BUF_strndup", referenced from:
      _d2i_SSL_SESSION in libssl.a(ssl_asn1.o)
  "_EC_GROUP_new_by_curve_name", referenced from:
      _ssl3_get_key_exchange in libssl.a(s3_clnt.o)
  "_ECDH_compute_key", referenced from:
      _ssl3_get_client_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
  "_OPENSSL_DIR_end", referenced from:
      _SSL_add_dir_cert_subjects_to_stack in libssl.a(ssl_cert.o)
  "_asn1_const_Finish", referenced from:
      _d2i_SSL_SESSION in libssl.a(ssl_asn1.o)
  "_d2i_X509_EXTENSIONS", referenced from:
      _ssl_parse_clienthello_tlsext in libssl.a(t1_lib.o)
  "_EC_KEY_set_public_key", referenced from:
      _ssl3_get_key_exchange in libssl.a(s3_clnt.o)
  "_ASN1_const_check_infinite_end", referenced from:
      _d2i_SSL_SESSION in libssl.a(ssl_asn1.o)
      _d2i_SSL_SESSION in libssl.a(ssl_asn1.o)
      _d2i_SSL_SESSION in libssl.a(ssl_asn1.o)
      _d2i_SSL_SESSION in libssl.a(ssl_asn1.o)
      _d2i_SSL_SESSION in libssl.a(ssl_asn1.o)
      _d2i_SSL_SESSION in libssl.a(ssl_asn1.o)
      _d2i_SSL_SESSION in libssl.a(ssl_asn1.o)
      _d2i_SSL_SESSION in libssl.a(ssl_asn1.o)
  "_EC_KEY_get0_public_key", referenced from:
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_client_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
      _ssl3_send_client_key_exchange in libssl.a(s3_clnt.o)
  "_BIO_set_flags", referenced from:
      _ssl3_read_bytes in libssl.a(s3_pkt.o)
      _dtls1_read_bytes in libssl.a(d1_pkt.o)
      _dtls1_read_failed in libssl.a(d1_both.o)
      _ssl_read in libssl.a(bio_ssl.o)
      _ssl_read in libssl.a(bio_ssl.o)
      _ssl_read in libssl.a(bio_ssl.o)
      _ssl_read in libssl.a(bio_ssl.o)
      _ssl_read in libssl.a(bio_ssl.o)
      _ssl_write in libssl.a(bio_ssl.o)
      _ssl_write in libssl.a(bio_ssl.o)
      _ssl_write in libssl.a(bio_ssl.o)
      _ssl_write in libssl.a(bio_ssl.o)
      _ssl_ctrl in libssl.a(bio_ssl.o)
      _ssl_ctrl in libssl.a(bio_ssl.o)
      _ssl_ctrl in libssl.a(bio_ssl.o)
  "_ENGINE_get_ssl_client_cert_function", referenced from:
      _SSL_CTX_set_client_cert_engine in libssl.a(ssl_sess.o)
  "_EVP_ecdsa", referenced from:
      _ssl3_send_server_key_exchange in libssl.a(s3_srvr.o)
      _ssl3_get_key_exchange in libssl.a(s3_clnt.o)
      _SSL_library_init in libssl.a(ssl_algs.o)
  "_pqueue_iterator", referenced from:
      _dtls1_read_failed in libssl.a(d1_both.o)
  "_EVP_CIPHER_CTX_cipher", referenced from:
      _ssl3_enc in libssl.a(s3_enc.o)
      _tls1_enc in libssl.a(t1_enc.o)
      _dtls1_enc in libssl.a(d1_enc.o)
      _dtls1_enc in libssl.a(d1_enc.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [link_a.darwin] Error 1
make[1]: *** [do_darwin-shared] Error 2
make: *** [libssl.0.9.8.dylib] Error 2
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to