Installation Error

Support/Development for OSSEC
kjsl
New Forum User
New Forum User
Posts: 1
Joined: Thu Nov 11, 2021 5:21 pm

Installation Error

Unread post by kjsl »

I'm trying to install ossec to my Kali but I keep receiving this error.
- Running the Makefile
cc -fPIC -no-pie -DMAX_AGENTS=2048 -DOSSECHIDS -DDEFAULTDIR=\"/var/ossec\" -DUSER=\"ossec\" -DREMUSER=\"ossecr\" -DGROUPGLOBAL=\"ossec\" -DMAILUSER=\"ossecm\" -DLinux -DINOTIFY_ENABLED -DZLIB_SYSTEM -DLIBOPENSSL_ENABLED -DLOCAL -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 -lssl -lcrypto -lz -o ossec-agentd
/usr/bin/ld: os_net.a(os_net.o):(.bss+0x0): multiple definition of `agt'; client-agent/config.o:(.bss+0x48): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:926: ossec-agentd] Error 1

Error 0x5.
Building error. Unable to finish the installation.
User avatar
cponton
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 61
Joined: Fri Oct 09, 2020 9:41 am

Re: Installation Error

Unread post by cponton »

Are you trying to use oum to install? Or are you following the manual instructions?
Post Reply