Error: Package: caddy-2.4.6-1.el9.x86_64 (copr:copr.fedorainfracloud.org:group_caddy:caddy) Requires: libc.so.6(GLIBC_2.34)(64bit)
Asked Answered
L

2

8

Am trying to get ssl working on my ec2 instance, but sudo yum caddy install tells me i need to have Requires: libc.so.6(GLIBC_2.34)(64bit) which by the way i cant find a way to install it on linux ec2 server

Lewin answered 24/2, 2022 at 18:13 Comment(4)
If found any solution to this, please help us out :)Lewin
Did you end up solving this?Roomy
No, no success yetLewin
Does this answer your question? Cannot download caddy package on yumItol
R
2

I had the same issue, but was able to successfully install it by building it from source: https://caddyserver.com/docs/build#build-from-source

Make sure you have Golang installed first, that's really easy

Roomy answered 25/3, 2022 at 19:39 Comment(5)
No problem! Let me know if it worksRoomy
Thanks, this helped me out. I added some notes at stackoverflow.com/questions/73347341Cultrate
thanks @Cultrate Magruder the details you added about golang are so usefulLewin
this didnt work for me on the latest EC2 linux.Harmonicon
@Harmonicon What was the issue?Roomy
Z
0

I was able to solve this issue using binary file. Installing caddy via yum commands didn't work in my Amazon EC2 machine.

You can go to official github repo releases page of caddy, find desired version and download the binary.

 curl -sSLO "https://github.com/caddyserver/caddy/releases/download/v2.7.6/caddy_2.7.6_linux_arm64.tar.gz"
 tar xvf caddy_2.7.6_linux_arm64.tar.gz
 echo $PATH
 sudo mv caddy /usr/bin/
Zircon answered 8/3 at 8:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.