Issue
- You are installing ESET Server Security or ESET Endpoint Antivirus for Linux on Ubuntu 22.04 or Mint 21
- You receive a "failed" error for the ESET service (for example, "eea.service")
- The system log displays "Failed to start ESET Endpoint Antivirus"
- The system logs generate the error "check_start.sh: /bin/sh: 1: gcc-12: not found" during modules compilation
Details
Click to expand
GCC 12 (gcc-12) is not the default version for Ubuntu 22.04/Mint 21 and is not used as a dependency during ESET installation. However, the latest Linux kernel requires gcc-12 for kernel module compilation, which is a required part of ESET product installation.
Solution
- Locate the missing package within the OS repository:
Debian based distributions: "sudo apt-cache search gcc" or "sudo apt search gcc" RHEL based distributions: "sudo yum list available | grep gcc" or "sudo yum list gcc"
- Install the appropriate package version:
sudo apt install [appropriate_version_of_gcc_package] sudo yum install [appropriate_version_of_gcc_package]
- If multiple versions of gcc are present in the system, you can force the system to load the appropriate library version by creating a symbolic link with:
sudo ln -s -f /usr/bin/gcc-version /usr/bin/gcc
- Restart the product service:
- ESET Endpoint Antivirus for Linux
sudo systemctl restart eea
- ESET Server Security for Linux
sudo systemctl restart efs
- ESET Endpoint Antivirus for Linux