AIX下APACHE SSL编译问题
sheva81
|
1#
sheva81 发表于 2009-01-10 16:10
AIX下APACHE SSL编译问题
系统环境:AIX53,APACHE-2.0.63,OPENSSL-0.9.8i,XLC编译器
如果不加载SSL模块可以安装成功,一旦加载在make的时候就报错,openssl已经安装好。 ./configure --prefix=/usr/local/apache2 --enable-so --enable-ssl=static --with-ssl=/usr/local/ssl make 错误信息如下: ld: 0711-317 ERROR: Undefined symbol: .CRYPTO_set_locking_callback ld: 0711-317 ERROR: Undefined symbol: .CRYPTO_set_id_callback ld: 0711-317 ERROR: Undefined symbol: .X509_get_pubkey ld: 0711-317 ERROR: Undefined symbol: .EVP_PKEY_type ld: 0711-317 ERROR: Undefined symbol: .CRYPTO_num_locks ld: 0711-317 ERROR: Undefined symbol: .SSLeay_version ld: 0711-317 ERROR: Undefined symbol: .BIO_s_mem ld: 0711-317 ERROR: Undefined symbol: .BIO_new ld: 0711-317 ERROR: Undefined symbol: .X509_get_serialNumber ld: 0711-317 ERROR: Undefined symbol: .i2a_ASN1_INTEGER ld: 0711-317 ERROR: Undefined symbol: .BIO_ctrl ld: 0711-317 ERROR: Undefined symbol: .BIO_read ld: 0711-317 ERROR: Undefined symbol: .BIO_free ld: 0711-317 ERROR: Undefined symbol: .PEM_write_bio_X509 ld: 0711-317 ERROR: Undefined symbol: .sk_num ld: 0711-317 ERROR: Undefined symbol: .sk_value ld: 0711-317 ERROR: Undefined symbol: .X509_NAME_ENTRY_get_object ld: 0711-317 ERROR: Undefined symbol: .OBJ_obj2nid ld: 0711-317 ERROR: Undefined symbol: .ASN1_UTCTIME_print ld: 0711-317 ERROR: Undefined symbol: .ASN1_INTEGER_get ld: 0711-317 ERROR: Undefined symbol: .X509_get_subject_name ld: 0711-317 ERROR: Undefined symbol: .X509_NAME_oneline ld: 0711-317 ERROR: Undefined symbol: .CRYPTO_free ld: 0711-317 ERROR: Undefined symbol: .X509_get_issuer_name ld: 0711-317 ERROR: Undefined symbol: .OBJ_nid2ln ld: 0711-317 ERROR: Undefined symbol: .SSL_get_verify_result ld: 0711-317 ERROR: Undefined symbol: .SSL_get_peer_certificate ld: 0711-317 ERROR: Undefined symbol: .X509_free ld: 0711-317 ERROR: Undefined symbol: .SSL_get_current_cipher ld: 0711-317 ERROR: Undefined symbol: .SSL_CIPHER_get_bits ld: 0711-317 ERROR: Undefined symbol: .SSL_get_version ld: 0711-317 ERROR: Undefined symbol: .SSL_get_session ld: 0711-317 ERROR: Undefined symbol: .DH_new ld: 0711-317 ERROR: Undefined symbol: .BN_bin2bn ld: 0711-317 ERROR: Undefined symbol: .DH_free ld: 0711-317 ERROR: Undefined symbol: .SSL_get_ex_new_index ld: 0711-317 ERROR: Undefined symbol: .SSL_get_ex_data ld: 0711-317 ERROR: Undefined symbol: .SSL_set_ex_data ld: 0711-317 ERROR: Undefined symbol: .BIO_new_file ld: 0711-317 ERROR: Undefined symbol: .PEM_read_bio_X509 ld: 0711-317 ERROR: Undefined symbol: .BIO_f_base64 ld: 0711-317 ERROR: Undefined symbol: .BIO_push ld: 0711-317 ERROR: Undefined symbol: .d2i_X509_bio ld: 0711-317 ERROR: Undefined symbol: .BIO_free_all ld: 0711-317 ERROR: Undefined symbol: .PEM_read_bio_PrivateKey ld: 0711-317 ERROR: Undefined symbol: .d2i_PrivateKey_bio ld: 0711-317 ERROR: Undefined symbol: .EVP_PKEY_free ld: 0711-317 ERROR: Undefined symbol: .SSL_shutdown ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_new ld: 0711-317 ERROR: Undefined symbol: .X509_LOOKUP_file ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_add_lookup ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_free ld: 0711-317 ERROR: Undefined symbol: .X509_LOOKUP_ctrl ld: 0711-317 ERROR: Undefined symbol: .X509_LOOKUP_hash_dir ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_CTX_init ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_get_by_subject ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_CTX_cleanup ld: 0711-317 ERROR: Undefined symbol: .SSL_get_ciphers ld: 0711-317 ERROR: Undefined symbol: .BIO_s_file ld: 0711-317 ERROR: Undefined symbol: .ERR_clear_error ld: 0711-317 ERROR: Undefined symbol: .PEM_X509_INFO_read_bio ld: 0711-317 ERROR: Undefined symbol: X509_free ld: 0711-317 ERROR: Undefined symbol: .sk_pop_free ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_ctrl ld: 0711-317 ERROR: Undefined symbol: .ERR_peek_error ld: 0711-317 ERROR: Undefined symbol: .ERR_get_error ld: 0711-317 ERROR: Undefined symbol: .SSL_SESSION_get_time ld: 0711-317 ERROR: Undefined symbol: .SSL_get_peer_cert_chain ld: 0711-317 ERROR: Undefined symbol: .SSL_get_certificate ld: 0711-317 ERROR: Undefined symbol: .SSL_set_bio ld: 0711-317 ERROR: Undefined symbol: .SSL_get_rbio ld: 0711-317 ERROR: Undefined symbol: .BIO_set_callback ld: 0711-317 ERROR: Undefined symbol: .BIO_set_callback_arg ld: 0711-317 ERROR: Undefined symbol: .BIO_get_callback_arg ld: 0711-317 ERROR: Undefined symbol: .BIO_clear_flags ld: 0711-317 ERROR: Undefined symbol: .SSL_version ld: 0711-317 ERROR: Undefined symbol: .BIO_set_flags ld: 0711-317 ERROR: Undefined symbol: .SSL_free ld: 0711-317 ERROR: Undefined symbol: .SSL_set_shutdown ld: 0711-317 ERROR: Undefined symbol: .SSL_state ld: 0711-317 ERROR: Undefined symbol: .SSL_connect ld: 0711-317 ERROR: Undefined symbol: .ERR_error_string_n ld: 0711-317 ERROR: Undefined symbol: .SSL_accept ld: 0711-317 ERROR: Undefined symbol: .SSL_get_error ld: 0711-317 ERROR: Undefined symbol: .X509_verify_cert_error_string ld: 0711-317 ERROR: Undefined symbol: .SSL_read ld: 0711-317 ERROR: Undefined symbol: .SSL_write ld: 0711-317 ERROR: Undefined symbol: .SSL_ctrl ld: 0711-317 ERROR: Undefined symbol: .X509_NAME_cmp ld: 0711-317 ERROR: Undefined symbol: .SSL_load_error_strings ld: 0711-317 ERROR: Undefined symbol: .SSL_library_init ld: 0711-317 ERROR: Undefined symbol: .OPENSSL_add_all_algorithms_noconf ld: 0711-317 ERROR: Undefined symbol: .d2i_X509 ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_use_certificate ld: 0711-317 ERROR: Undefined symbol: .d2i_PrivateKey ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_use_PrivateKey ld: 0711-317 ERROR: Undefined symbol: .EVP_PKEY_missing_parameters ld: 0711-317 ERROR: Undefined symbol: .EVP_PKEY_copy_parameters ld: 0711-317 ERROR: Undefined symbol: .SSLv2_client_method ld: 0711-317 ERROR: Undefined symbol: .SSLv2_server_method ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_new ld: 0711-317 ERROR: Undefined symbol: .SSLv23_client_method ld: 0711-317 ERROR: Undefined symbol: .SSLv23_server_method ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_ex_data ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_cipher_list ld: 0711-317 ERROR: Undefined symbol: .SSL_load_client_CA_file ld: 0711-317 ERROR: Undefined symbol: .sk_find ld: 0711-317 ERROR: Undefined symbol: .sk_push ld: 0711-317 ERROR: Undefined symbol: .X509_NAME_free ld: 0711-317 ERROR: Undefined symbol: .sk_free ld: 0711-317 ERROR: Undefined symbol: .sk_new ld: 0711-317 ERROR: Undefined symbol: .sk_set_cmp_func ld: 0711-317 ERROR: Undefined symbol: .SSL_state_string_long ld: 0711-317 ERROR: Undefined symbol: .SSL_alert_type_string_long ld: 0711-317 ERROR: Undefined symbol: .SSL_alert_desc_string_long ld: 0711-317 ERROR: Undefined symbol: .SSL_get_SSL_CTX ld: 0711-317 ERROR: Undefined symbol: .sk_dup ld: 0711-317 ERROR: Undefined symbol: .SSL_set_cipher_list ld: 0711-317 ERROR: Undefined symbol: .SSL_get_verify_mode ld: 0711-317 ERROR: Undefined symbol: .SSL_set_verify ld: 0711-317 ERROR: Undefined symbol: .SSL_set_verify_result ld: 0711-317 ERROR: Undefined symbol: .sk_new_null ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_get_cert_store ld: 0711-317 ERROR: Undefined symbol: .SSL_get_verify_depth ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_CTX_set_depth ld: 0711-317 ERROR: Undefined symbol: .SSL_get_ex_data_X509_STORE_CTX_idx ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_CTX_set_ex_data ld: 0711-317 ERROR: Undefined symbol: .X509_verify_cert ld: 0711-317 ERROR: Undefined symbol: .SSL_set_session_id_context ld: 0711-317 ERROR: Undefined symbol: .SSL_renegotiate ld: 0711-317 ERROR: Undefined symbol: .SSL_do_handshake ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_CTX_get_current_cert ld: 0711-317 ERROR: Undefined symbol: .BIO_printf ld: 0711-317 ERROR: Undefined symbol: .X509_NAME_print ld: 0711-317 ERROR: Undefined symbol: .X509_CRL_verify ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_CTX_set_error ld: 0711-317 ERROR: Undefined symbol: .X509_OBJECT_free_contents ld: 0711-317 ERROR: Undefined symbol: .X509_cmp_current_time ld: 0711-317 ERROR: Undefined symbol: .ASN1_INTEGER_cmp ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_CTX_get_ex_data ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_CTX_get_error ld: 0711-317 ERROR: Undefined symbol: .X509_STORE_CTX_get_error_depth ld: 0711-317 ERROR: Undefined symbol: .SSL_get_client_CA_list ld: 0711-317 ERROR: Undefined symbol: .CRYPTO_add_lock ld: 0711-317 ERROR: Undefined symbol: .SSL_SESSION_set_timeout ld: 0711-317 ERROR: Undefined symbol: .i2d_SSL_SESSION ld: 0711-317 ERROR: Undefined symbol: .d2i_SSL_SESSION ld: 0711-317 ERROR: Undefined symbol: .SSL_SESSION_free ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_get_ex_data ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_verify ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_load_verify_locations ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_client_CA_list ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_get_client_CA_list ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_tmp_rsa_callback ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_tmp_dh_callback ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_info_callback ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_sess_set_new_cb ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_sess_set_get_cb ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_sess_set_remove_cb ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_set_client_cert_cb ld: 0711-317 ERROR: Undefined symbol: .RSA_generate_key ld: 0711-317 ERROR: Undefined symbol: .PEM_read_bio_DHparams ld: 0711-317 ERROR: Undefined symbol: .RAND_seed ld: 0711-317 ERROR: Undefined symbol: .RAND_egd ld: 0711-317 ERROR: Undefined symbol: .RAND_status ld: 0711-317 ERROR: Undefined symbol: .ERR_put_error ld: 0711-317 ERROR: Undefined symbol: .EVP_read_pw_string ld: 0711-317 ERROR: Undefined symbol: .i2d_X509 ld: 0711-317 ERROR: Undefined symbol: .i2d_PrivateKey ld: 0711-317 ERROR: Undefined symbol: .RSA_free ld: 0711-317 ERROR: Undefined symbol: .SSL_CTX_free ld: 0711-317 ERROR: Undefined symbol: X509_INFO_free ld: 0711-317 ERROR: Undefined symbol: .ERR_remove_state ld: 0711-317 ERROR: Undefined symbol: .EVP_cleanup ld: 0711-317 ERROR: Undefined symbol: .CRYPTO_set_mem_functions ld: 0711-317 ERROR: Undefined symbol: .SSL_new ld: 0711-317 ERROR: Undefined symbol: .SSL_set_tmp_rsa_callback ld: 0711-317 ERROR: Undefined symbol: .SSL_set_tmp_dh_callback ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: The error code from the last command is 8. Stop. make: The error code from the last command is 1. |