apex / apex/up

GLIBC_2.32 not found / CGO_ENABLED=0

Open
#825 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
8.8k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.