Good day,.

On 05/12/14 9:23 PM, "Larry Stone" <lston...@stonejongleux.com> wrote:

> 
> 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.

Thanks Larry - ClamAV will compile without issue on Macs 10.6 and greater
without any problems... The systems I have been trying to update are older
10.5.8 systems. 

I had to find the specific build option to get all the OpenSSL linked files
to link correctly. My brain hurts... Haha...

--
Gary


_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml

Reply via email to