Comments (4)
@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.
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.
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.
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 youTry 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)
- CGO with bootstrap step
- Volume Mount Error When GOPATH Contains Multiple Values
- Darwin arm64 binary gets immediately killed
- garble with xgo gcc HOT 1
- Cross-compilation support for Android HOT 2
- Support for more architectures
- CVE's
- Add the possibility of using as a library
- [BUG]build error, fatal: unsafe repository HOT 1
- fail to detect local docker image
- "fatal: not a git repository" with go 1.18.x HOT 1
- xgo Aliyun HOT 2
- It seems to increase the workload HOT 1
- Are windows arm64 builds supported? HOT 2
- Modules issue building locally vs from reference HOT 1
- Android and ios don't support it HOT 2
- Are you interested in creating a similar compiler for gcc HOT 1
- Release v0.24.0 missing linux_x86_64 download HOT 1
- 编译本地项目报错 HOT 1
- Parallelism
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xgo.