ossec / ossec-hids

OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.
http://www.ossec.net
Other
4.34k stars 1.02k forks source link

Makefile:930: recipe for target 'ossec-maild' failed #2039

Closed Azwaliyana closed 1 month ago

Azwaliyana commented 2 years ago

I got this error while installing OSSEC HIDS version 3.7.0.

5- Installing the system

What is the problem? How can I solve this?

Renevant commented 2 years ago

Experiencing the same issue - building on Ubuntu 20.04.3. Any update on this?

Renevant commented 2 years ago

Answered by @trietphm here: https://github.com/ossec/ossec-hids/issues/1950

Don't know what OS @Azwaliyana is running, but on Ubuntu 20.04, the solution was to apt install -y libsystemd-dev

Once I did so, installation proceeded without the above error.

hb9fbl commented 2 years ago

On RedHat 7 based systems: yum install systemd-devel.x86_64