Mailing List Archive

[clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database
I have compiled antivirus version clamav-0.101.1on my system Centos 5
(Final)


The output of the freshclam after  running

# /usr/local/bin/freshclam --show-progress --debug  -v
--config-file=/usr/local/etc/freshclam.conf --datadir=/tmp/freshclamd_db


Current working dir is /tmp/freshclamd_db
ClamAV update process started at Fri Mar 22 23:42:49 2019
Using IPv6 aware code
Max retries == 3
Querying current.cvd.clamav.net
TTL: 728
Software version from DNS: 0.101.1
Retrieving http://db.nl.clamav.net/main.cvd
Trying to download http://db.nl.clamav.net/main.cvd (IP: 104.16.219.84)
Downloading main.cvd [100%]
LibClamAV debug: Initialized 0.101.1 engine
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 57462fd73f1cfdb356b9dca66da2b732
LibClamAV debug: cli_versig: Decoded signature:
57462fd73f1cfdb356b9dca66da2b732
LibClamAV debug: cli_versig: Digital signature is correct.
LibClamAV debug: in cli_tgzload()
LibClamAV debug: in cli_tgzload_cleanup()
WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header <========!!!!!!!
LibClamAV debug: Cleaning up phishcheck
LibClamAV debug: Phishcheck cleaned up
ERROR: Verification: Malformed database <========!!!!!!!
Querying main.0.102.0.0.6810DB54.ping.clamav.net
Trying again in 5 secs...
...

Giving up on db.nl.clamav.net...

Update failed. Your network may be down or none of the mirrors listed in
/usr/local/etc/freshclam.conf is working. Check
https://www.clamav.net/documents/official-mirror-faq for possible reasons.


from database.clamav.net


# /usr/local/bin/freshclam --show-progress --debug  -v
--config-file=/usr/local/etc/freshclam.conf --datadir=/tmp/freshclamd_db
Current working dir is /tmp/freshclamd_db
ClamAV update process started at Fri Mar 22 23:57:22 2019
Using IPv6 aware code
Max retries == 3
Querying current.cvd.clamav.net
TTL: 1800
Software version from DNS: 0.101.1
Retrieving http://database.clamav.net/main.cvd
Trying to download http://database.clamav.net/main.cvd (IP: 104.16.218.84)
Downloading main.cvd [100%]
LibClamAV debug: Initialized 0.101.1 engine
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 57462fd73f1cfdb356b9dca66da2b732
LibClamAV debug: cli_versig: Decoded signature:
57462fd73f1cfdb356b9dca66da2b732
LibClamAV debug: cli_versig: Digital signature is correct.
LibClamAV debug: in cli_tgzload()
LibClamAV debug: in cli_tgzload_cleanup()
WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header <======!!!!!!!

LibClamAV debug: Cleaning up phishcheck
LibClamAV debug: Phishcheck cleaned up
ERROR: Verification: Malformed database <======!!!!!!!

Querying main.0.102.0.0.6810DA54.ping.clamav.net
Trying again in 5 secs...
Querying current.cvd.clamav.net

...

Giving up on database.clamav.net...
Update failed. Your network may be down or none of the mirrors listed in
/usr/local/etc/freshclam.conf is working. Check
https://www.clamav.net/documents/official-mirror-faq for possible reasons.

[(testing) root@mx 1]# /usr/local/bin/freshclam -V
ClamAV 0.101.1/25396/Fri Mar 22 10:52:29 2019
[(testing) root@mx 1]# ldd /usr/local/bin/freshclam
        libclamav.so.9 => /usr/local/lib/libclamav.so.9 (0xb7d28000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7bf0000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7bec000)
        libclammspack.so.0 => /usr/local/lib/libclammspack.so.0
(0xb7bd9000)
        libssl.so.6 => /lib/libssl.so.6 (0xb7b8e000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0xb7a4d000)
        libpcre.so.0 => /lib/libpcre.so.0 (0xb7a2c000)
        libm.so.6 => /lib/libm.so.6 (0xb7a05000)
        libz.so.1 => /lib/libz.so.1 (0xb79f2000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb79df000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb79c8000)
        libc.so.6 => /lib/libc.so.6 (0xb7888000)
        /lib/ld-linux.so.2 (0xb7f62000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb785a000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb77c3000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb77c0000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7799000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7790000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb778c000)
        libselinux.so.1 => /lib/libselinux.so.1 (0xb7774000)
        libsepol.so.1 => /lib/libsepol.so.1 (0xb772e000)

what is the problem?

Vladislav
Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database [ In reply to ]
Hi Vladislav,

It looks to me like you probably need a newer version of zlib. (https://www.zlib.net/)

Regards,
Micah


From: clamav-users <clamav-users-bounces@lists.clamav.net> on behalf of ????????? ?????? <vladislav.grishin@vts24.ru>
Reply-To: ClamAV users ML <clamav-users@lists.clamav.net>
Date: Friday, March 22, 2019 at 5:06 PM
To: "clamav-users@lists.clamav.net" <clamav-users@lists.clamav.net>
Subject: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database

I have compiled antivirus version clamav-0.101.1 on my system Centos 5 (Final)




The output of the freshclam after running

# /usr/local/bin/freshclam --show-progress --debug -v --config-file=/usr/local/etc/freshclam.conf --datadir=/tmp/freshclamd_db

Current working dir is /tmp/freshclamd_db
ClamAV update process started at Fri Mar 22 23:42:49 2019
Using IPv6 aware code
Max retries == 3
Querying current.cvd.clamav.net
TTL: 728
Software version from DNS: 0.101.1
Retrieving http://db.nl.clamav.net/main.cvd
Trying to download http://db.nl.clamav.net/main.cvd (IP: 104.16.219.84)
Downloading main.cvd [100%]
LibClamAV debug: Initialized 0.101.1 engine
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 57462fd73f1cfdb356b9dca66da2b732
LibClamAV debug: cli_versig: Decoded signature: 57462fd73f1cfdb356b9dca66da2b732
LibClamAV debug: cli_versig: Digital signature is correct.
LibClamAV debug: in cli_tgzload()
LibClamAV debug: in cli_tgzload_cleanup()
WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header <========!!!!!!!
LibClamAV debug: Cleaning up phishcheck
LibClamAV debug: Phishcheck cleaned up
ERROR: Verification: Malformed database <========!!!!!!!
Querying main.0.102.0.0.6810DB54.ping.clamav.net
Trying again in 5 secs...
...

Giving up on db.nl.clamav.net...

Update failed. Your network may be down or none of the mirrors listed in /usr/local/etc/freshclam.conf is working. Check https://www.clamav.net/documents/official-mirror-faq for possible reasons.



from database.clamav.net



# /usr/local/bin/freshclam --show-progress --debug -v --config-file=/usr/local/etc/freshclam.conf --datadir=/tmp/freshclamd_db
Current working dir is /tmp/freshclamd_db
ClamAV update process started at Fri Mar 22 23:57:22 2019
Using IPv6 aware code
Max retries == 3
Querying current.cvd.clamav.net
TTL: 1800
Software version from DNS: 0.101.1
Retrieving http://database.clamav.net/main.cvd
Trying to download http://database.clamav.net/main.cvd (IP: 104.16.218.84)
Downloading main.cvd [100%]
LibClamAV debug: Initialized 0.101.1 engine
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 57462fd73f1cfdb356b9dca66da2b732
LibClamAV debug: cli_versig: Decoded signature: 57462fd73f1cfdb356b9dca66da2b732
LibClamAV debug: cli_versig: Digital signature is correct.
LibClamAV debug: in cli_tgzload()
LibClamAV debug: in cli_tgzload_cleanup()
WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header <======!!!!!!!

LibClamAV debug: Cleaning up phishcheck
LibClamAV debug: Phishcheck cleaned up
ERROR: Verification: Malformed database <======!!!!!!!

Querying main.0.102.0.0.6810DA54.ping.clamav.net
Trying again in 5 secs...
Querying current.cvd.clamav.net

...

Giving up on database.clamav.net...
Update failed. Your network may be down or none of the mirrors listed in /usr/local/etc/freshclam.conf is working. Check https://www.clamav.net/documents/official-mirror-faq for possible reasons.
[(testing) root@mx 1]# /usr/local/bin/freshclam -V
ClamAV 0.101.1/25396/Fri Mar 22 10:52:29 2019
[(testing) root@mx 1]# ldd /usr/local/bin/freshclam
libclamav.so.9 => /usr/local/lib/libclamav.so.9 (0xb7d28000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7bf0000)
libdl.so.2 => /lib/libdl.so.2 (0xb7bec000)
libclammspack.so.0 => /usr/local/lib/libclammspack.so.0 (0xb7bd9000)
libssl.so.6 => /lib/libssl.so.6 (0xb7b8e000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0xb7a4d000)
libpcre.so.0 => /lib/libpcre.so.0 (0xb7a2c000)
libm.so.6 => /lib/libm.so.6 (0xb7a05000)
libz.so.1 => /lib/libz.so.1 (0xb79f2000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb79df000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb79c8000)
libc.so.6 => /lib/libc.so.6 (0xb7888000)
/lib/ld-linux.so.2 (0xb7f62000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb785a000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb77c3000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0xb77c0000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7799000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7790000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb778c000)
libselinux.so.1 => /lib/libselinux.so.1 (0xb7774000)
libsepol.so.1 => /lib/libsepol.so.1 (0xb772e000)

what is the problem?

Vladislav
Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database [ In reply to ]
I installed a new version of zlib.

[(testing) root@mx zlib-1.2.11]# make install
rm -f /usr/local/lib/libz.a
cp libz.a /usr/local/lib
chmod 644 /usr/local/lib/libz.a
cp libz.so.1.2.11 /usr/local/lib
chmod 755 /usr/local/lib/libz.so.1.2.11
rm -f /usr/local/share/man/man3/zlib.3
cp zlib.3 /usr/local/share/man/man3
chmod 644 /usr/local/share/man/man3/zlib.3
rm -f /usr/local/lib/pkgconfig/zlib.pc
cp zlib.pc /usr/local/lib/pkgconfig
chmod 644 /usr/local/lib/pkgconfig/zlib.pc
rm -f /usr/local/include/zlib.h /usr/local/include/zconf.h
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h

[(testing) root@mx /]# /usr/local/bin/freshclam --show-progress --debug 
-v --config-file=/usr/local/etc/freshclam.conf --datadir=/tmp/freshclamd_db
Current working dir is /tmp/freshclamd_db
ClamAV update process started at Sat Mar 23 00:31:19 2019
Using IPv6 aware code
Max retries == 3
Querying current.cvd.clamav.net
TTL: 1796
Software version from DNS: 0.101.1
Retrieving http://database.clamav.net/main.cvd
Trying to download http://database.clamav.net/main.cvd (IP: 104.16.218.84)
Downloading main.cvd [100%]
LibClamAV debug: Initialized 0.101.1 engine
LibClamAV debug: in cli_cvdload()
LibClamAV debug: MD5(.tar.gz) = 57462fd73f1cfdb356b9dca66da2b732
LibClamAV debug: cli_versig: Decoded signature:
57462fd73f1cfdb356b9dca66da2b732
LibClamAV debug: cli_versig: Digital signature is correct.
LibClamAV debug: in cli_tgzload() <====  in this place timeout

process freshclam loads cpu  by 100%

top - 00:34:56 up  5:46,  0 users,  load average: 0.97, 0.54, 0.24
Tasks: 199 total,   2 running, 197 sleeping,   0 stopped,   0 zombie
Cpu(s):  6.2%us,  0.2%sy,  0.0%ni, 93.6%id,  0.0%wa,  0.0%hi, 0.0%si, 
0.0%st
Mem:   4662144k total,   392756k used,  4269388k free,        0k buffers
Swap:        0k total,        0k used,        0k free,        0k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+ COMMAND
 3657 clam      25   0 10812 3416 2648 R  100  0.1   3:35.75 freshclam
 3734 root      15   0  2300 1124  820 R    1  0.0   0:00.17 top


23.03.2019 0:12, Micah Snyder (micasnyd) via clamav-users ?????:
>
> Hi Vladislav,
>
> It looks to me like you probably need a newer version of zlib.
> (https://www.zlib.net/)
>
> Regards,
>
> Micah
>
> *From: *clamav-users <clamav-users-bounces@lists.clamav.net> on behalf
> of ????????? ?????? <vladislav.grishin@vts24.ru>
> *Reply-To: *ClamAV users ML <clamav-users@lists.clamav.net>
> *Date: *Friday, March 22, 2019 at 5:06 PM
> *To: *"clamav-users@lists.clamav.net" <clamav-users@lists.clamav.net>
> *Subject: *[clamav-users] clamav-0.101.1 - WARNING: [LibClamAV]
> cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database
>
> I have compiled antivirus version clamav-0.101.1 on my system Centos 5
> (Final)
>
>
>
> The output of the  freshclam after running
>
> # /usr/local/bin/freshclam --show-progress --debug  -v
> --config-file=/usr/local/etc/freshclam.conf --datadir=/tmp/freshclamd_db
>
>
> Current working dir is /tmp/freshclamd_db
> ClamAV update process started at Fri Mar 22 23:42:49 2019
> Using IPv6 aware code
> Max retries == 3
> Querying current.cvd.clamav.net
> TTL: 728
> Software version from DNS: 0.101.1
> Retrieving http://db.nl.clamav.net/main.cvd
> Trying to download http://db.nl.clamav.net/main.cvd (IP: 104.16.219.84)
> Downloading main.cvd [100%]
> LibClamAV debug: Initialized 0.101.1 engine
> LibClamAV debug: in cli_cvdload()
> LibClamAV debug: MD5(.tar.gz) = 57462fd73f1cfdb356b9dca66da2b732
> LibClamAV debug: cli_versig: Decoded signature:
> 57462fd73f1cfdb356b9dca66da2b732
> LibClamAV debug: cli_versig: Digital signature is correct.
> LibClamAV debug: in cli_tgzload()
> LibClamAV debug: in cli_tgzload_cleanup()
> WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header <========!!!!!!!
> LibClamAV debug: Cleaning up phishcheck
> LibClamAV debug: Phishcheck cleaned up
> ERROR: Verification: Malformed database <========!!!!!!!
> Querying main.0.102.0.0.6810DB54.ping.clamav.net
> Trying again in 5 secs...
> ...
>
> Giving up on db.nl.clamav.net...
>
> Update failed. Your network may be down or none of the mirrors listed
> in /usr/local/etc/freshclam.conf is working. Check
> https://www.clamav.net/documents/official-mirror-faq for possible reasons.
>
> from database.clamav.net
>
> # /usr/local/bin/freshclam --show-progress --debug  -v
> --config-file=/usr/local/etc/freshclam.conf --datadir=/tmp/freshclamd_db
> Current working dir is /tmp/freshclamd_db
> ClamAV update process started at Fri Mar 22 23:57:22 2019
> Using IPv6 aware code
> Max retries == 3
> Querying current.cvd.clamav.net
> TTL: 1800
> Software version from DNS: 0.101.1
> Retrieving http://database.clamav.net/main.cvd
> Trying to download http://database.clamav.net/main.cvd (IP: 104.16.218.84)
> Downloading main.cvd [100%]
> LibClamAV debug: Initialized 0.101.1 engine
> LibClamAV debug: in cli_cvdload()
> LibClamAV debug: MD5(.tar.gz) = 57462fd73f1cfdb356b9dca66da2b732
> LibClamAV debug: cli_versig: Decoded signature:
> 57462fd73f1cfdb356b9dca66da2b732
> LibClamAV debug: cli_versig: Digital signature is correct.
> LibClamAV debug: in cli_tgzload()
> LibClamAV debug: in cli_tgzload_cleanup()
> WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header <======!!!!!!!
>
> LibClamAV debug: Cleaning up phishcheck
> LibClamAV debug: Phishcheck cleaned up
> ERROR: Verification: Malformed database <======!!!!!!!
>
> Querying main.0.102.0.0.6810DA54.ping.clamav.net
> Trying again in 5 secs...
> Querying current.cvd.clamav.net
>
> ...
>
> Giving up on database.clamav.net...
> Update failed. Your network may be down or none of the mirrors listed
> in /usr/local/etc/freshclam.conf is working. Check
> https://www.clamav.net/documents/official-mirror-faq for possible reasons.
>
> [(testing) root@mx 1]# /usr/local/bin/freshclam -V
> ClamAV 0.101.1/25396/Fri Mar 22 10:52:29 2019
> [(testing) root@mx 1]# ldd /usr/local/bin/freshclam
>         libclamav.so.9 => /usr/local/lib/libclamav.so.9 (0xb7d28000)
>         libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7bf0000)
>         libdl.so.2 => /lib/libdl.so.2 (0xb7bec000)
>         libclammspack.so.0 => /usr/local/lib/libclammspack.so.0
> (0xb7bd9000)
>         libssl.so.6 => /lib/libssl.so.6 (0xb7b8e000)
>         libcrypto.so.6 => /lib/libcrypto.so.6 (0xb7a4d000)
>         libpcre.so.0 => /lib/libpcre.so.0 (0xb7a2c000)
>         libm.so.6 => /lib/libm.so.6 (0xb7a05000)
>         libz.so.1 => /lib/libz.so.1 (0xb79f2000)
>         libresolv.so.2 => /lib/libresolv.so.2 (0xb79df000)
>         libpthread.so.0 => /lib/libpthread.so.0 (0xb79c8000)
>         libc.so.6 => /lib/libc.so.6 (0xb7888000)
>         /lib/ld-linux.so.2 (0xb7f62000)
>         libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb785a000)
>         libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb77c3000)
>         libcom_err.so.2 => /lib/libcom_err.so.2 (0xb77c0000)
>         libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7799000)
>         libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7790000)
>         libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb778c000)
>         libselinux.so.1 => /lib/libselinux.so.1 (0xb7774000)
>         libsepol.so.1 => /lib/libsepol.so.1 (0xb772e000)
>
> what is the problem?
>
> Vladislav
>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

Vladislav
Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database [ In reply to ]
Did you recompile ClamAV with ./configure option “--with-zlib=/usr/local”?

Micah


From: clamav-users <clamav-users-bounces@lists.clamav.net> on behalf of ????????? ?????? <vladislav.grishin@vts24.ru>
Reply-To: ClamAV users ML <clamav-users@lists.clamav.net>
Date: Friday, March 22, 2019 at 5:43 PM
To: "Micah Snyder (micasnyd) via clamav-users" <clamav-users@lists.clamav.net>
Subject: Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database

/usr/local
Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database [ In reply to ]
[(testing) root@mx clamav-0.101.1]# ./configure --with-zlib=/usr/local

...

checking for zlib installation... using /usr/local
configure: error: Please install zlib and zlib-devel packages


sources of new zlib placed in

the source code of the new library is here /usr/src/zlib-1.2.11


23.03.2019 0:57, Micah Snyder (micasnyd) via clamav-users ?????:
>
> Did you recompile ClamAV with  ./configure option
> “--with-zlib=/usr/local”?
>
> Micah
>
> *From: *clamav-users <clamav-users-bounces@lists.clamav.net> on behalf
> of ????????? ?????? <vladislav.grishin@vts24.ru>
> *Reply-To: *ClamAV users ML <clamav-users@lists.clamav.net>
> *Date: *Friday, March 22, 2019 at 5:43 PM
> *To: *"Micah Snyder (micasnyd) via clamav-users"
> <clamav-users@lists.clamav.net>
> *Subject: *Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV]
> cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database
>
> /usr/local
>
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

Vladislav
Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database [ In reply to ]
I found mistake and  I  recompile ClamAV with  ./configure option
“--with-zlib=/usr/local”

but in recompile time I saw error

Making all in clamscan
make[2]: Entering directory `/root/clamav-0.101.1/clamscan'
  CC       output.o
  CC       getopt.o
  CC       optparser.o
  CC       actions.o
  CC       misc.o
  CC       clamscan.o
  CC       manager.o
  CCLD     clamscan
../libclamav/.libs/libclamav.so: undefined reference to `gzseek64'
collect2: ld returned 1 exit status
make[2]: *** [clamscan] Error 1
make[2]: Leaving directory `/root/clamav-0.101.1/clamscan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/clamav-0.101.1'
make: *** [all] Error 2


23.03.2019 1:08, ????????? ?????? ?????:
>
> [(testing) root@mx clamav-0.101.1]# ./configure --with-zlib=/usr/local
>
> ...
>
> checking for zlib installation... using /usr/local
> configure: error: Please install zlib and zlib-devel packages
>
>
> sources of new zlib placed in
>
> the source code of the new library is here /usr/src/zlib-1.2.11
>
>
> 23.03.2019 0:57, Micah Snyder (micasnyd) via clamav-users ?????:
>>
>> Did you recompile ClamAV with  ./configure option
>> “--with-zlib=/usr/local”?
>>
>> Micah
>>
>> *From: *clamav-users <clamav-users-bounces@lists.clamav.net> on
>> behalf of ????????? ?????? <vladislav.grishin@vts24.ru>
>> *Reply-To: *ClamAV users ML <clamav-users@lists.clamav.net>
>> *Date: *Friday, March 22, 2019 at 5:43 PM
>> *To: *"Micah Snyder (micasnyd) via clamav-users"
>> <clamav-users@lists.clamav.net>
>> *Subject: *Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV]
>> cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed
>> database
>>
>> /usr/local
>>
>>
>> _______________________________________________
>>
>> clamav-users mailing list
>> clamav-users@lists.clamav.net
>> https://lists.clamav.net/mailman/listinfo/clamav-users
>>
>>
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>>
>> http://www.clamav.net/contact.html#ml
> Vladislav
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users@lists.clamav.net
> https://lists.clamav.net/mailman/listinfo/clamav-users
>
>
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
>
> http://www.clamav.net/contact.html#ml

Vladislav
Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database [ In reply to ]
Vladislav,

The should have worked if the new version of zlib has been installed to /usr/local.
On a side note, have you considered upgrading to a new version of Linux? Centos5 has passed End-of-Life.

Micah

From: clamav-users <clamav-users-bounces@lists.clamav.net> on behalf of ????????? ?????? <vladislav.grishin@vts24.ru>
Reply-To: ClamAV users ML <clamav-users@lists.clamav.net>
Date: Friday, March 22, 2019 at 6:30 PM
To: "Micah Snyder (micasnyd) via clamav-users" <clamav-users@lists.clamav.net>
Subject: Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database


I found mistake and I recompile ClamAV with ./configure option “--with-zlib=/usr/local”

but in recompile time I saw error

Making all in clamscan
make[2]: Entering directory `/root/clamav-0.101.1/clamscan'
CC output.o
CC getopt.o
CC optparser.o
CC actions.o
CC misc.o
CC clamscan.o
CC manager.o
CCLD clamscan
../libclamav/.libs/libclamav.so: undefined reference to `gzseek64'
collect2: ld returned 1 exit status
make[2]: *** [clamscan] Error 1
make[2]: Leaving directory `/root/clamav-0.101.1/clamscan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/clamav-0.101.1'
make: *** [all] Error 2



23.03.2019 1:08, ????????? ?????? ?????:

[(testing) root@mx clamav-0.101.1]# ./configure --with-zlib=/usr/local

...

checking for zlib installation... using /usr/local
configure: error: Please install zlib and zlib-devel packages



sources of new zlib placed in

the source code of the new library is here /usr/src/zlib-1.2.11


23.03.2019 0:57, Micah Snyder (micasnyd) via clamav-users ?????:
Did you recompile ClamAV with ./configure option “--with-zlib=/usr/local”?

Micah


From: clamav-users <clamav-users-bounces@lists.clamav.net><mailto:clamav-users-bounces@lists.clamav.net> on behalf of ????????? ?????? <vladislav.grishin@vts24.ru><mailto:vladislav.grishin@vts24.ru>
Reply-To: ClamAV users ML <clamav-users@lists.clamav.net><mailto:clamav-users@lists.clamav.net>
Date: Friday, March 22, 2019 at 5:43 PM
To: "Micah Snyder (micasnyd) via clamav-users" <clamav-users@lists.clamav.net><mailto:clamav-users@lists.clamav.net>
Subject: Re: [clamav-users] clamav-0.101.1 - WARNING: [LibClamAV] cli_cvdload: Corrupted CVD header. ERROR: Verification: Malformed database

/usr/local



_______________________________________________



clamav-users mailing list

clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>

https://lists.clamav.net/mailman/listinfo/clamav-users





Help us build a comprehensive ClamAV guide:

https://github.com/vrtadmin/clamav-faq



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

Vladislav



_______________________________________________



clamav-users mailing list

clamav-users@lists.clamav.net<mailto:clamav-users@lists.clamav.net>

https://lists.clamav.net/mailman/listinfo/clamav-users





Help us build a comprehensive ClamAV guide:

https://github.com/vrtadmin/clamav-faq



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

Vladislav