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

Better build instructions #244

Open
louigi600 opened this issue Jan 13, 2022 · 2 comments
Open

Better build instructions #244

louigi600 opened this issue Jan 13, 2022 · 2 comments
Assignees
Labels
discussion question or suggestion

Comments

@louigi600
Copy link

I was unable to run the 64 bit linux binary because of an outdated libc:
./log4j2-scan /
./log4j2-scan: /lib64/libc.so.6: version GLIBC_2.15' not found (required by ./log4j2-scan) ./log4j2-scan: /lib64/libc.so.6: version GLIBC_2.14' not found (required by ./log4j2-scan)

I looked into the build instructions but for me they are far from usable.

@JStevens1855
Copy link

I believe I initially had the same issue with RHEL 6 using a openlogic JRE to run the scan using the jar file. I switched to adoptium openjdk and it worked fine. I'm not sure if your using the jar or one of the other options but it could be a limitation of JRE with the flavor of linux your testing against. I switched to this version and ran the jar with it and it worked great.
https://github.com/adoptium/temurin8-binaries/releases/download/jdk8u312-b07/OpenJDK8U-jre_x64_linux_hotspot_8u312b07.tar.gz

@xeraph xeraph self-assigned this Jan 14, 2022
@xeraph xeraph added the discussion question or suggestion label Jan 14, 2022
@xeraph
Copy link
Contributor

xeraph commented Jan 14, 2022

@louigi600 You can use JAR version instead.

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

No branches or pull requests

3 participants