Giter Site home page Giter Site logo

GLIBC_2.28' not found about xgo HOT 4 CLOSED

crazy-max avatar crazy-max commented on May 18, 2024
GLIBC_2.28' not found

from xgo.

Comments (4)

crazy-max avatar crazy-max commented on May 18, 2024

@libsgh glibc on the machine you are trying to run the binary is too old. You'll either need to update glibc on your machine or use a custom docker image with a recent one.

from xgo.

drakkan avatar drakkan commented on May 18, 2024

Hi,

I have the same issue with sftpgo on arm64 (and likely on ppc64le too). I use the xgo GitHub Action to cross build for arm64 and ppc64 and then I build deb/rpm using nfpm:

  • sftpgo 2.0.2 works on ubuntu 18.04 (glibc 2.27) and later:
./sftpgo -v
SFTPGo 2.0.2-cebd069-2021-02-17T07:13:20Z +metrics +awskms +gcpkms +vaultkms +azblob +gcs +s3 +bolt +mysql +pgsql +sqlite +portable
  • sftpgo 2.0.3 requires glibc 2.28 (buster version) and so it don't work anymore on ubuntu 18.04
./sftpgo -v
./sftpgo: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./sftpgo)

The only relevant difference in my build workflow is that 2.0.2 was cross built using Go 1.16.0 while 2.0.3 with Go 1.16.2.

Ubuntu 18.04 is still supported. Is it possible to produce binaries compatible with this old glibc version again? Thank you

from xgo.

libsgh avatar libsgh commented on May 18, 2024

Hi,

I have the same issue with sftpgo on arm64 (and likely on ppc64le too). I use the xgo GitHub Action to cross build for arm64 and ppc64 and then I build deb/rpm using nfpm:

  • sftpgo 2.0.2 works on ubuntu 18.04 (glibc 2.27) and later:
./sftpgo -v
SFTPGo 2.0.2-cebd069-2021-02-17T07:13:20Z +metrics +awskms +gcpkms +vaultkms +azblob +gcs +s3 +bolt +mysql +pgsql +sqlite +portable
  • sftpgo 2.0.3 requires glibc 2.28 (buster version) and so it don't work anymore on ubuntu 18.04
./sftpgo -v
./sftpgo: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./sftpgo)

The only relevant difference in my build workflow is that 2.0.2 was cross built using Go 1.16.0 while 2.0.3 with Go 1.16.2.

Ubuntu 18.04 is still supported. Is it possible to produce binaries compatible with this old glibc version again? Thank you

Try to use other XGO docker images
techknowlogick/xgo

from xgo.

drakkan avatar drakkan commented on May 18, 2024

Hi,
I have the same issue with sftpgo on arm64 (and likely on ppc64le too). I use the xgo GitHub Action to cross build for arm64 and ppc64 and then I build deb/rpm using nfpm:

  • sftpgo 2.0.2 works on ubuntu 18.04 (glibc 2.27) and later:
./sftpgo -v
SFTPGo 2.0.2-cebd069-2021-02-17T07:13:20Z +metrics +awskms +gcpkms +vaultkms +azblob +gcs +s3 +bolt +mysql +pgsql +sqlite +portable
  • sftpgo 2.0.3 requires glibc 2.28 (buster version) and so it don't work anymore on ubuntu 18.04
./sftpgo -v
./sftpgo: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./sftpgo)

The only relevant difference in my build workflow is that 2.0.2 was cross built using Go 1.16.0 while 2.0.3 with Go 1.16.2.
Ubuntu 18.04 is still supported. Is it possible to produce binaries compatible with this old glibc version again? Thank you

Try to use other XGO docker images
techknowlogick/xgo

Thank you but I switched to QEMU. It is a bit slower to build but the produced binaries are ok, it is enough for my use case

from xgo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.