apex / apex/up

GLIBC_2.32 not found / CGO_ENABLED=0

Offen
#825 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
8.8k
Forks
383
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## Prerequisites

* [X] I am running the latest version. (`up upgrade`)
* [X] I searched to see if the issue already exists.
* [X] I inspected the verbose debug output with the `-v, --verbose` flag.
* [X] Are you an Up Pro subscriber?

## Description

On Arch glibc is not compatible with AWS's. So the [workaround](https://dabase.com/e/15014/) is to use CGO_ENABLED=0

However CGO_ENABLED=0 often means poor support with sqlite drivers or example. CGO_ENABLED=0 versions of sqlite drivers exist but they are [significantly slower](https://twitter.com/benbjohnson/status/1370936353572130816) for example.

Perhaps it's having some sort of **cross compile** option as suggest here https://twitter.com/benbjohnson/status/1370955506471165956 ?

## Steps to Reproduce

Try deploy https://github.com/kaihendry/dfts

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.