I'm compiling as I normally do. The config line for Dovecot is:
configure --with-ldap --with-ssl --with-bzlib --with-zlib --with-stemmer --with-lucene --with-ldap
followed by make & make install
Then a 'configure' for Pigeonhole, followed by make, yields:
libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -o
.libs/sieve-dump sieve-dump.o -Wl,--export-dynamic
../../src/lib-sieve/.libs/libdovecot-sieve.so
../../src/lib-sieve-tool/.libs/libsieve-tool.a
/usr/local/lib/dovecot/libdovecot-storage.so
/usr/local/lib/dovecot/libdovecot-lda.so -L/usr/local/lib/dovecot
/usr/local/lib/dovecot/libdovecot.so -lrt -Wl,-rpath
-Wl,/usr/local/lib/dovecot
libtool: link: gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes
-Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2
-Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -o
.libs/sievec sievec.o -Wl,--export-dynamic
../../src/lib-sieve/.libs/libdovecot-sieve.so
../../src/lib-sieve-tool/.libs/libsieve-tool.a
/usr/local/lib/dovecot/libdovecot-storage.so
/usr/local/lib/dovecot/libdovecot-lda.so -L/usr/local/lib/dovecot
/usr/local/lib/dovecot/libdovecot.so -lrt -Wl,-rpath
-Wl,/usr/local/lib/dovecot
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
sk_new_null@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_get_error@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_get_peer_certificate@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_load_verify_locations@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_use_PrivateKey@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
DH_free@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_set_ex_data@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_set_tmp_rsa_callback@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_use_certificate@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_alert_desc_string_long@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_get_ex_data@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_get_ex_new_index@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_set_client_CA_list@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_get_ext_d2i@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_accept@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_STORE_add_cert@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSLv23_server_method@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
OBJ_txt2nid@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_write@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
sk_num@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
BIO_ctrl_get_write_guarantee@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_set_cipher_list@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
sk_push@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ERR_get_error@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_alert_type_string_long@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_COMP_get_name@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ENGINE_by_id@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
BIO_write@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
i2d_DHparams@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_NAME_ENTRY_get_data@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CIPHER_get_name@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_use_PrivateKey@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_set_info_callback@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_get_subject_name@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ENGINE_init@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ERR_clear_error@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_load_error_strings@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ENGINE_set_default_RSA@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
BIO_free@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CIPHER_get_bits@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_INFO_free@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_STORE_set_flags@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_new@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_NAME_dup@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_NAME_get_index_by_NID@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
d2i_DHparams@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_NAME_get_text_by_NID@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
OPENSSL_add_all_algorithms_noconf@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ENGINE_set_default_DSA@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ENGINE_cleanup@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_NAME_get_entry@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ASN1_STRING_type@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_library_init@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_get_current_cipher@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_set_cipher_list@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_connect@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ERR_error_string_n@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_STORE_CTX_get_ex_data@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_set_verify@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
BIO_new_bio_pair@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSLv23_client_method@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_use_certificate@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ASN1_STRING_length@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_get_cert_store@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_set_tmp_dh_callback@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ENGINE_set_default_ciphers@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
PEM_read_bio_PrivateKey@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
BIO_new_mem_buf@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_get_ex_data_X509_STORE_CTX_idx@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
sk_pop_free@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
sk_value@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
GENERAL_NAME_free@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ERR_peek_error@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_get_version@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
RAND_bytes@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_new@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
BIO_ctrl_pending@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_set_bio@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ASN1_STRING_data@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ENGINE_load_builtin_engines@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
PEM_read_bio_X509@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
EVP_cleanup@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_STORE_add_crl@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
BIO_read@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ENGINE_finish@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_free@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_read@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_NAME_oneline@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_free@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ERR_free_strings@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
EVP_PKEY_free@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_get_current_compression@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_verify_cert_error_string@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_CTX_ctrl@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
ERR_peek_last_error@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
RSA_generate_key@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
SSL_state_string_long@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
PEM_X509_INFO_read_bio@OPENSSL_1.0.0'
/usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
DH_generate_parameters@OPENSSL_1.0.0' /usr/local/lib/dovecot/libdovecot-storage.so: undefined reference to
X509_free@OPENSSL_1.0.0'
collect2: ld returned 1 exit status
make[3]: *** [sieve-dump] Error 1
make[3]: *** Waiting for unfinished jobs....
-- Daniel