Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It does not work in Amazon Linux 2023 #2090

Closed
OneideLuizSchneider opened this issue Jul 13, 2023 · 6 comments
Closed

It does not work in Amazon Linux 2023 #2090

OneideLuizSchneider opened this issue Jul 13, 2023 · 6 comments

Comments

@OneideLuizSchneider
Copy link

It does not work on Amazon Linux 2023.
I did try to add manually some libs but not successfully.
I downgraded it back to Amazon Linux 2.

Not sure if someone else had the same problem.

@bigtrucker89
Copy link
Contributor

Amazon Linux 2023 is only supported with Atomic OSSEC at this time.

@sempervictus
Copy link

@atomicturtle - ABI problem or something else? Is this a "buildbots need to include it" concern?

@atomicturtle
Copy link
Member

Yeah just builders. Does anyone know if amazon linux 2023 is a LTS version like amzn2?

@OneideLuizSchneider
Copy link
Author

@atomicturtle Amazon Linux 2023 is the default version for all new EC2 instances.

https://aws.amazon.com/linux/amazon-linux-2023/

@sempervictus
Copy link

Yes, it's an LTS

@atomicturtle
Copy link
Member

Looks fine here, I used the same setup for Rocky 8:
dnf -y groupinstall "Development Tools"
dnf -y install pcre2-devel openssl-devel systemd-devel

DLIBOPENSSL_ENABLED
Compiler:
CFLAGS -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 -Wall -Wextra -I./ -I./headers/
LDFLAGS -lm -lpthread -lsystemd -lpcre2-8 -lssl -lcrypto -lz
CC cc
MAKE make
make[1]: Leaving directory '/root/ossec-hids/src'

Done building server
[root@fbcd80e374d9 src]# cat /etc/system-release
Amazon Linux release 2023 (Amazon Linux)

Closing this one out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants