ClamAV 0.104.0, Nginx 1.21.3

Issues here too with AlmaLinux 8 and ClamAV update

Installing clamav 0.104.0 ...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 ...
Cannot find json-c, installing it...
Last metadata expiration check: 3:39:45 ago on Tue Sep 14 05:51:52 2021.
Package json-c-devel-0.13.1-0.4.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
-- The C compiler identification is GNU 8.4.1
-- The CXX compiler identification is GNU 8.4.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- Found Libcheck: /usr/include
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find Python3 (missing: Python3_EXECUTABLE Interpreter)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindPython/Support.cmake:2966 (find_package_handle_standard_args)
/usr/share/cmake/Modules/FindPython3.cmake:389 (include)
CMakeLists.txt:197 (find_package)


-- Configuring incomplete, errors occurred!
See also "/usr/local/directadmin/custombuild/clamav-0.104.0/build/CMakeFiles/CMakeOutput.log".
See also "/usr/local/directadmin/custombuild/clamav-0.104.0/build/CMakeFiles/CMakeError.log".

*** There was an error while trying to configure clamav.
 
Installing clamav 0.104.0 ...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 ...
Cannot find json-c, installing it...
Last metadata expiration check: 1:41:02 ago on Tue Sep 14 08:52:07 2021.
Package json-c-devel-0.13.1-0.4.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd

This is on CentOS Linux release 8.3.2011

Package json-c-0.13.1-0.4.el8.x86_64 is already installed.

# rpm -qa | egrep 'cmake|zstd'
zstd-1.4.4-1.el8.x86_64
cmake-data-3.18.2-11.el8_4.noarch
libzstd-1.4.4-1.el8.x86_64
cmake-rpm-macros-3.18.2-11.el8_4.noarch
 
Added even more fixes to CB 2.0 rev. 2748. Thank you for the reports. If any issues - please let us know.
 
Update: yum install libarchive fixed it.

With 2748 still giving:

Installing clamav 0.104.0 ...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 ...
cmake: symbol lookup error: cmake: undefined symbol: archive_write_add_filter_zstd

*** There was an error while trying to configure clamav.
 
  • Like
Reactions: Sab
On Debian 10 the problem still exists after the update to CB 2.0 rev 2748:
Installing clamav 0.104.0 ...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 ...
cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)
CMake Error at CMakeLists.txt:6 (cmake_minimum_required):
CMake 3.14 or higher is required. You are running version 3.13.4


-- Configuring incomplete, errors occurred!

*** There was an error while trying to configure clamav.
 
@smtalk Just noticed that on many of my Debian 10 installs I have cmake installed from backports, which is new enough at 3.16.3-3. But the standard repo has 3.13.4-1, which is not new enough as it's wanting 3.14+ which will cause many people issues.
 
@smtalk Just noticed that on many of my Debian 10 installs I have cmake installed from backports, which is new enough at 3.16.3-3. But the standard repo has 3.13.4-1, which is not new enough as it's wanting 3.14+ which will cause many people issues.
On Debian 10 the problem still exists after the update to CB 2.0 rev 2748:
Fixed in CB 2.0 rev. 2750, thank you for the reports.
 
ClamAV now works on all my machines, except for the last CentOS 6 machine:

Code:
Installing clamav 0.104.0 ...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 ...
CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
*** There was an error while trying to configure clamav.

Using CB 2.0 rev. 2750
 
Code:
Installing clamav 0.104.0 ...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 ...
CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

*** There was an error while trying to configure clamav.

I also still have the same error as tnuz on the only server with Centos 6.
 
Code:
Installing clamav 0.104.0 ...
Found /usr/local/directadmin/custombuild/clamav-0.104.0.tar.gz
Extracting ...
Done.
Configuring clamav 0.104.0 ...
CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

*** There was an error while trying to configure clamav.

I also still have the same error as tnuz on the only server with Centos 6.
ClamAV requires cmake3 to be at least of version 3.14, CentOS6 provides only 3.6. I'd suggest having old version of clamav set in custom_versions.txt, so that it'd never try to update to any newer versions there.
 
ClamAV requires cmake3 to be at least of version 3.14, CentOS6 provides only 3.6. I'd suggest having old version of clamav set in custom_versions.txt, so that it'd never try to update to any newer versions there.

Thank you very much for the explanation, I followed your advice. And soon I will migrate this server to Almalinux as well.
 
Hi, i am using Debian 9.13

and getting this error:

cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)
CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist.

Any suggestions?
 
Hi, i am using Debian 9.13

and getting this error:

cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)
CMake Error: The source directory "/usr/local/directadmin/custombuild/clamav-0.104.0/build/ENABLE_TESTS=OFF" does not exist.

Any suggestions?
What's the version of cmake there?

Code:
cmake --version
 
cmake: /usr/local/lib/libcurl.so.4: no version information available (required by cmake)
cmake version 3.7.2
 
So conclusion is that i need to upgrade to Debian 10? Because if I install a newer version of cmake via backport this might screw up other dependencies or am i wrong?
 
@aobh

On my Debian 9 servers I just used python3 to upgrade cmake. It's a work around till I upgrade that server. I have python3 and python3-pip installed, and then installed the missing/updated modules needed to make it work.

Code:
pip3 install cmake
apt-get install libbz2-dev

I'm waiting a bit before upgrade those servers as I will be going straight to Debian 11 on them, still doing the testing to make sure everything is fine.
 
@cjd

Has no impact on DirectAdmin to upgrade to python3? I am always scared by installing newer versions ;-)

I am also waiting a bit and then wanna go to Debian 11.
 
Back
Top