air-verse / air

☁️ Live reload for Go apps
GNU General Public License v3.0
16.53k stars 779 forks source link

Error /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found #427

Closed benc-uk closed 9 months ago

benc-uk commented 1 year ago

I've been using air for years on my system, today I downloaded the latest version and I get this error

./air_1.43.0_linux_amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./air_1.43.0_linux_amd64)
./air_1.43.0_linux_amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./air_1.43.0_linux_amd64)

I am running Ubuntu 20.04 LTS

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal
benc-uk commented 1 year ago

I rolled back to 1.42.0 of air and the error was gone Something big changed with the 1.43.0 release or build

benc-uk commented 1 year ago

Seems like this was caused by the recent version bump to 1.20 https://github.com/golang/go/issues/58550

hotrush commented 1 year ago

Adding apt install -y libc6 libc6-dev libc6-dbg helped to me

mstgnz commented 1 year ago

Same problem This problem, does not happen in my local on mac. It's happening on ubuntu 22.04 server. air: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by air)

I rolled back to 1.42.0 of air and the error was gone Something big changed with the 1.43.0 release or build

I tried this but still got error. at least the error has changed. 2023/06/02 08:41:44 open .air.toml: no such file or directory

Adding apt install -y libc6 libc6-dev libc6-dbg helped to me

I tried this but nothing change.

silverwind commented 1 year ago

Duplicate of https://github.com/cosmtrek/air/issues/415.

xiantang commented 9 months ago

close for dupl