Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-10 Thread James Lee
May 8 07:44:31 mailhost freshclam[3924]: [ID 702911 mail.error] Verification: Can't allocate memory "Can't allocate memory" is the wrong message; it's not short of memory. The problem is failure to initialise openssl by calling OpenSSL_add_all_digests() resulting in EVP_get_digestbyname()

Re: [clamav-users] Version 0.98.3 hard loops on "clamdscan -V"

2014-05-10 Thread Dennis Peterson
On 5/9/14, 7:26 PM, Eric Shubert wrote: On 05/09/2014 04:41 PM, Dennis Peterson wrote: On 5/9/14, 7:33 AM, Bowie Bailey wrote: On 5/8/2014 10:35 PM, Eric Shubert wrote: [root@qmt-cos5 etc]# grep -v ^# clamd.conf | grep -v ^$ Inefficiency bugs me... You can do multiple patterns with a single

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-10 Thread James Lee
On 10/05/2014 11:22, James Lee wrote: I think it is intended to call this via cl_initialize_crypto(), except it's not called. "__attribute__((constructor))" works, compiler tested, but not here. ... Please don't take this as final, it's just a hint towards the problem. Indeed it's the usual

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-10 Thread Shawn Webb
Hey All, The attached two patches will make building (with gcc) and running on Solaris work. I've also pasted them to the below linked sites in case the attachments don't go through. The patches ought to be applied in order. Patch 1: http://ix.io/ceV (001-clamav-solaris.patch) Patch 2: http://ix.

Re: [clamav-users] Version 0.98.3 fails on Solaris

2014-05-10 Thread James Lee
On 10/05/2014 17:34, Shawn Webb wrote: Hello, The attached two patches will make building (with gcc) I'm not but.. and running on Solaris work. when using gcc configure sets HAVE_ATTRIB_PACKED=1 and the problem doesn't exist, ie, no patch is needed for gcc. In fact no patches need for c