On May 12, 2014, at 6:20 PM, Gary <o...@ibsltd.ca> wrote: > ./configure --with-openssl=/usr/local/ssl > > Well that got me a little bit further - still having issues... > > I have already upgraded to the most recent version of SSL (openssl-1.0.1g). > > Tried using your configure suggestion above - this is the make error: > > ld warning: in ../libclamav/libclamav.map, file is not of required > architecture > Undefined symbols: > "_EVP_MD_CTX_md", referenced from: > _cl_hash_file_fd_ctx in libclamav_internal_utils_la-crypto.o > _cl_hash_file_fd in libclamav_internal_utils_la-crypto.o > _cl_verify_signature_fd in libclamav_internal_utils_la-crypto.o > "_EVP_MD_block_size", referenced from: > _cl_hash_data in libclamav_internal_utils_la-crypto.o > _cl_hash_data in libclamav_internal_utils_la-crypto.o > _cl_verify_signature in libclamav_internal_utils_la-crypto.o > _cl_verify_signature in libclamav_internal_utils_la-crypto.o > "_BIO_set_flags", referenced from: > _cl_base64_decode in libclamav_internal_utils_la-conv.o > "_X509_VERIFY_PARAM_new", referenced from: > _cl_validate_certificate_chain in libclamav_internal_utils_la-crypto.o > "_X509_STORE_set1 "_X509_STORE_set1 "_X509_STORE_set1 "_X509_STORE_set1 > "_X509_STORE_set1 "_X509_STORE_set1 "_X509_STORE_set1 "_X509_STORE_set1 > "_X509_STORE_set1_param", referenced from: > _cl_validate_certificate_chain in libclamav_internal_utils_la-crypto.o > "_EVP_MD_size", referenced from: > _cl_sign_data in libclamav_internal_utils_la-crypto.o > _cl_sign_data_keyfile in libclamav_internal_utils_la-crypto.o > _cl_verify_signature_hash in libclamav_internal_utils_la-crypto.o > _cl_verify_signature_hash_x509 in libclamav_internal_utils_la-crypto.o > _cl_hash_file_fd_ctx in libclamav_internal_utils_la-crypto.o > _cl_hash_file_fd in libclamav_internal_utils_la-crypto.o > _cl_sign_file_fd in libclamav_internal_utils_la-crypto.o > _cl_verify_signature_fd in libclamav_internal_utils_la-crypto.o > _cl_verify_signature_fd in libclamav_internal_utils_la-crypto.o > _cl_hash_data in libclamav_internal_utils_la-crypto.o > _cl_verify_signature in libclamav_internal_utils_la-crypto.o > _cl_verify_signature in libclamav_internal_utils_la-crypto.o > _cl_verify_signature_hash_x509_keyfile in > libclamav_internal_utils_la-crypto.o > _cl_sign_file_fp in libclamav_internal_utils_la-crypto.o > "_X509_VERIFY_PARAM_free", referenced from: > _cl_validate_certificate_chain in libclamav_internal_utils_la-crypto.o > _cl_validate_certificate_chain in libclamav_internal_utils_la-crypto.o > _cl_validate_certificate_chain in libclamav_internal_utils_la-crypto.o > "_X509_VERIFY_PARAM_set_flags", referenced from: > _cl_validate_certificate_chain in libclamav_internal_utils_la-crypto.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[4]: *** [libclamav.la] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > I have also tried: > export LDFLAGS="-L/opt/local/lib" > export CPPFLAGS="-I/usr/local" > ./configure --with-openssl=/usr/local/ssl
Why those FLAGS? If the new version of OpenSSL is in /usr/local/ssl (the default), I’d try: export LDFLAGS="-L/usr/local/ssl/lib" export CPPFLAGS="-I/usr/local/ssl/include" ./configure --with-openssl=/usr/local/ssl I’ve been experimenting with OpenSSL 1.0.1g on an up-to-date Macintosh and while I haven’t tried ClamAV yet, those FLAGS seem to give me a good build of Dovecot with the new OpenSSL. -- Larry Stone lston...@stonejongleux.com http://www.stonejongleux.com/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml