Closed quail2333 closed 1 year ago
[root@localhost ossec-hids]# cat /etc/redhat-release CentOS release 6.5 (Final)
5- Installing the system - Running the Makefile cc -I./external/compat -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DHAVE_SYSTEMD -DZLIB_SYSTEM -DUSE_PCRE2_JIT -DLIBOPENSSL_ENABLED -DCLIENT -Wall -Wextra -I./ -I./headers/ client-agent/agentd.o client-agent/config.o client-agent/event-forward.o client-agent/intcheck_op.o client-agent/main.o client-agent/notify.o client-agent/receiver.o client-agent/receiver-win.o client-agent/sendmsg.o client-agent/start_agent.o os_crypto.a config.a shared.a os_net.a os_regex.a os_xml.a os_zlib.a -lm -lpthread -lsystemd -lpcre2-8 -lssl -lcrypto -lz ./external/compat/imsg.c ./external/compat/imsg-buffer.c -o ossec-agentd /usr/bin/ld: cannot find -lsystemd collect2: ld returned 1 exit status make: *** [ossec-agentd] Error 1 Error 0x5. Building error. Unable to finish the installation.
I installed ossec3.6.0 on CentOS 6 An error , and the package related to systemd-devel is not found according to the prompt.
systemd-devel
necessary package to compile :
apt install -y build-essential zlib1g-dev libpcre2-dev libssl-dev libevent-dev libsystemd-dev +++
[root@localhost ossec-hids]# cat /etc/redhat-release CentOS release 6.5 (Final)
I installed ossec3.6.0 on CentOS 6 An error , and the package related to
systemd-devel
is not found according to the prompt.