apex / apex/up

GLIBC_2.32 not found / CGO_ENABLED=0

未关闭
#825 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
8.8k
派生
383
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。