ClamAV 0.102.0

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,919
CB needed a few tweaks (aka: clamav now dependent on curl)
I've sorted those out and bumped the version to 0.102.1.

John
 

mmgenius

Verified User
Joined
Jan 20, 2004
Messages
116
On our CentOs 7 servers we get this message:

checking for libcurl installation... configure: error: libcurl not found. libcurl (e.g. libcurl-devel) is required in order to build freshclam and clamsubmit.

When I do yum list libcurl*, I get:

Installed Packages
libcurl.x86_64 7.29.0-54.el7 @base
libcurl-devel.x86_64 7.29.0-54.el7 @base
Available Packages
libcurl.i686 7.29.0-54.el7 base
libcurl-devel.i686 7.29.0-54.el7 base
 

mmgenius

Verified User
Joined
Jan 20, 2004
Messages
116
Update:

After doing: 'whereis libcurl' I changed the configure.clamav file from '--with-libcurl=/usr/local' to ' --with-libcurl=/usr'

After that I got this message:
checking for libcurl installation... /usr
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
configure: error: Your libcurl (e.g. libcurl-devel) is too old. Installing ClamAV with clamonacc requires libcurl 7.45 or higher. For a quick fix, run ./configure again with --disable-clamonacc if you do not wish to use on-access scanning features. For more information on ClamAV's on-access scanner, please read our documentation: https://www.clamav.net/documents/on-access-scanning#on-access-scanning

Then I added '--disable-clamonacc' to the configure.clamav file, after this clamav updated
 

ViAdCk

Verified User
Joined
Feb 14, 2005
Messages
267
We are also getting the following error on cloudlinux7:

checking for libcurl installation... configure: error: libcurl not found. libcurl (e.g. libcurl-devel) is required in order to build freshclam and clamsubmit.

It would be great if this could be fixed in custombuild.
 

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
435
Location
Arnhem, NL
Weird, no issues here on CentOS 7;

Code:
/usr/local/bin/clamscan -V

ClamAV 0.102.1/25641/Fri Nov 22 11:06:48 2019
With:

Code:
./build version

2.0.0 (rev: 2278)
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,331
Location
LT, EU
We are also getting the following error on cloudlinux7:

checking for libcurl installation... configure: error: libcurl not found. libcurl (e.g. libcurl-devel) is required in order to build freshclam and clamsubmit.

It would be great if this could be fixed in custombuild.
Please try:
Code:
cd /usr/local/directadmin/custombuild
./build set curl yes
./build curl
 

Erulezz

Verified User
Joined
Sep 14, 2015
Messages
435
Location
Arnhem, NL
Since a current version of curl is now required with ClamAV, maybe add a check for curl=yes when executing ./build clamav ? And if curl=no, don't proceed but instead show a warning?
 

wattie

Verified User
Joined
May 31, 2008
Messages
992
Location
Bulgaria
On FreeBSD 11 I get this:

Code:
/usr/bin/ld: warning: libssl.so.9, needed by ../libclamav/.libs/libclamav.so, may conflict with libssl.so.8
/usr/bin/ld: warning: libcrypto.so.9, needed by ../libclamav/.libs/libclamav.so, may conflict with libcrypto.so.8
../libclamav/.libs/libclamav.so: undefined reference to `libiconv'
../libclamav/.libs/libclamav.so: undefined reference to `libiconv_close'
../libclamav/.libs/libclamav.so: undefined reference to `libiconv_open'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[2]: stopped in /usr/local/directadmin/custombuild/clamav-0.102.1/clamscan
*** Error code 1

Stop.
make[1]: stopped in /usr/local/directadmin/custombuild/clamav-0.102.1
*** Error code 1

Stop.
make: stopped in /usr/local/directadmin/custombuild/clamav-0.102.1
I have both curl and iconv compiled through the build script successfully.
 
Top