Good day,. On 05/12/14 8:57 PM, "Charles Swiger" <cswi...@mac.com> wrote:
> Hi-- > > On May 12, 2014, at 4: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). > > OK, where was that installed? > > If I install 1.0.1g to /usr/local, I see that symbol in: > > % grep -l _EVP_MD_CTX_md /usr/local/ssl/lib/* > grep: /usr/local/ssl/lib/engines/: Is a directory > /usr/local/ssl/lib/libcrypto.1.0.0.dylib > /usr/local/ssl/lib/libcrypto.a > /usr/local/ssl/lib/libcrypto.dylib > /usr/local/ssl/lib/libssl.1.0.0.dylib > /usr/local/ssl/lib/libssl.a > /usr/local/ssl/lib/libssl.dylib > >> 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 > > [ ... ] > > You're probably not linking against the newer version of the OpenSSL > libraries. > > Unfortunately, the link command being run is probably hidden as CCLD unless > you > feed --disable-silent-rules to ./configure. > > Regards, >-- >-Chuck Chuck... CHUCK!! You sent me on the right path to solving this issue. You were entirely correct - SSL was not linked correctly even though my system said I was using the latest version. To anyone else who is experiencing the same issue using OSX 10.5.8 You must upgrade OpenSSL - and you must use the following configuration: ./config --prefix=/usr --openssldir=/System/Library/OpenSSL shared - you will get a warning - just wait and the configuration will take place. This will replace the shared system files and give you the full install of OpenSSL and link everything correctly. Once I installed OpenSSL using the above config - all I had to do with the config of clamav was use ./configure - no flags - installed without issue. THANK YOU Chuck! I have spent days trying to figure this out... Awesome. BEER TIME... Yes.. Oh yes it is... -- Gary _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml