-
-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GLIBC_2.32 not found / CGO_ENABLED=0 #825
Comments
Hmm I'm not sure I'd want a dependency on Docker, it could get really complicated quick. I think that sort of thing is probably best left to CI like GH Actions where you're building in the target environment already, but something to think about for sure |
I'm told this what I need to do: https://gist.github.com/egonelbre/01bbf7ca97d6b5588438da36a2578e7b I do really want a smooth way to deploy locally without CI. |
I have no previous experience with apex/up, but as far as I'm able to deduce it seems that The only concern is invoking subcommands such as |
@egonelbre yep it runs as a shell command, so you should be fine to use stuff like that @kaihendry yeah I definitely hear you, but the number of variables explodes once you start introducing platform specifics. Using Docker manually locally and putting Up inside would more or less have the same UX as Up trying to use Docker, so I'm not sure there would be much of a benefit, since Up would have to support all the various OSes and shared libraries etc |
Prerequisites
up upgrade
)-v, --verbose
flag.Description
On Arch glibc is not compatible with AWS's. So the workaround 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 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
The text was updated successfully, but these errors were encountered: