ajayd-san / gomanagedocker

TUI tool to manage your docker images, containers and volumes 🚀
MIT License
486 stars 23 forks source link

gmd requesting 2 versions of GLIBC #8

Closed thinkbig1979 closed 3 months ago

thinkbig1979 commented 3 months ago

Here's my terminal output after having followed the install instructions and then typing 'gmd'

❯ gmd                                                                                                                                                                                       │
│gmd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by gmd)                                                                                                      
│gmd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by gmd) 
ajayd-san commented 3 months ago

Hey!

Can I get some more info about your setup?

I need:

Also, did you install using the script or did you compile it yourself?

thinkbig1979 commented 3 months ago

Sure thing, here are the details you've asked for.

  • ldd (Ubuntu GLIBC 2.31-0ubuntu9.16) 2.31

My system is up to date (in terms of apt update).

ajayd-san commented 3 months ago

thanks for the info.

The error seems pretty self-explanatory. The glibc version used while linking the binary is not present in your system.

In this case, you have two options:

  1. You could download the version required (in this case GLIBC_2.34 only, since glibc is backward compatible)
  2. Compile it yourself using go install github.com/ajayd-san/gomanagedocker@v1.1.1

I'd recommend the 2nd approach if you have go toolchain installed, it's much more easier and quicker.

But thanks for bringing this to my attention, I'll build upcoming releases with an older version of glibc so that this doesn't happen again.

Let me know if you need any more help.

Cheers!

ajayd-san commented 3 months ago

@thinkbig1979 Hey, you can try installing gmd with the script now. It should work with your glibc as I'm now compiling release builds in a slightly older docker container (which uses an older glibc version).

script:

bash -c "$(curl -sLo- https://raw.githubusercontent.com/ajayd-san/gomanagedocker/main/install.sh)"
thinkbig1979 commented 3 months ago

Works great, thank you @ajayd-san !