[clamav-users] ***UNCHECKED*** Re: Malformed database issue

Micah Snyder (micasnyd) micasnyd at cisco.com
Tue Jul 17 08:22:40 EDT 2018


Is zlib 1.2.4 really significantly more processor intensive than 1.2.3?  It is rather trivial to install from http://www.zlib.net/fossils/


Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.


On Jul 16, 2018, at 11:37 PM, Al Varnell <alvarnell at mac.com<mailto:alvarnell at mac.com>> wrote:

Micah said earlier that 1.2.3 cannot be used with ClamAV 100.x and I suspect your hardware won't support using zlib 1.2.4 or above, so you will either need that new box or roll ClamAV back to an earlier version.

-Al-

On Mon, Jul 16, 2018 at 07:19 PM, Jay Hart wrote:
I do have zlib installed:

root at centos include]# yum info zlib
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: ewr.edge.kernel.org<http://ewr.edge.kernel.org/>
* epel: mirror.cs.princeton.edu<http://mirror.cs.princeton.edu/>
* extras: mirror.cs.vt.edu<http://mirror.cs.vt.edu/>
* updates: mirror.umd.edu<http://mirror.umd.edu/>
Installed Packages
Name        : zlib
Arch        : i686
Version     : 1.2.3
Release     : 29.el6
Size        : 136 k
Repo        : installed
>From repo   : base
Summary     : The zlib compression and decompression library
URL         : http://www.gzip.org/zlib/
License     : zlib and Boost
Description : Zlib is a general-purpose, patent-free, lossless data compression
           : library which is used by many different programs.

File location:
[root at centos include]# repoquery -l zlib
/lib/libz.so.1
/lib/libz.so.1.2.3
/usr/share/doc/zlib-1.2.3
/usr/share/doc/zlib-1.2.3/ChangeLog
/usr/share/doc/zlib-1.2.3/FAQ
/usr/share/doc/zlib-1.2.3/README

Jay
Two things (each item is a bit long), with two questions/comments at the bottom:

1. I don't think zlib-devel is installed:

[root at centos tmp]# yum info zlib-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink                                                              |  15 kB     00:00
* base: ewr.edge.kernel.org<http://ewr.edge.kernel.org/>
* epel: mirror.cogentco.com<http://mirror.cogentco.com/>
* extras: mirror.cs.vt.edu<http://mirror.cs.vt.edu/>
* updates: mirror.vcu.edu<http://mirror.vcu.edu/>
base                                                                       | 3.7 kB     00:00
epel                                                                       | 3.2 kB     00:00
extras                                                                     | 3.3 kB     00:00
updates                                                                    | 3.4 kB     00:00
Available Packages
Name        : zlib-devel
Arch        : i686
Version     : 1.2.3
Release     : 29.el6
Size        : 44 k
Repo        : base
Summary     : Header files and libraries for Zlib development
URL         : http://www.gzip.org/zlib/
License     : zlib and Boost
Description : The zlib-devel package contains the header files and libraries needed
           : to develop programs that use the zlib compression and decompression
           : library.

[root at centos tmp]# more  /usr/include/zlib.h |grep VERSION
/usr/include/zlib.h: No such file or directory

[root at centos include]# rpm -ql zlib-devel
package zlib-devel is not installed

2. 32-bit CPU data:
[root at centos include]# lscpu |grep "CPU op-mode"
CPU op-mode(s):        32-bit
[root at centos include]# lscpu
Architecture:          i686
CPU op-mode(s):        32-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 54
Model name:            Intel(R) Atom(TM) CPU D2700   @ 2.13GHz
Stepping:              1
CPU MHz:               2128.240
BogoMIPS:              4256.48
L1d cache:             24K
L1i cache:             32K
L2 cache:              512K

Could the fact zlib-devel is NOT installed be my issue?

Also, it looks like my hardware will not support Centos 7 so I'm guessing need to procure a new
box.

I think this answers all the outstanding queries you asked for Micah.  My thanks for the support.

Jay


On CentOS you should be able to check with: `yum info zlib-devel`

Alternatively, take a peek in /usr/include/zlib.h for the line starting with:
#define ZLIB_VERSION

Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.

_______________________________________________
clamav-users mailing list
clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml



_______________________________________________
clamav-users mailing list
clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

-Al-
--
Al Varnell
Mountain View, CA




_______________________________________________
clamav-users mailing list
clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20180717/0dab9a1d/attachment.html>


More information about the clamav-users mailing list