Skip to content
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 required to run Nargo #4132

Closed
spalladino opened this issue Jan 23, 2024 · 3 comments
Closed

GLIBC required to run Nargo #4132

spalladino opened this issue Jan 23, 2024 · 3 comments
Labels
backend Proving backends bug Something isn't working nargo Noir's CLI development tool

Comments

@spalladino
Copy link
Contributor

Aim

Compile an Aztec Contract using Nargo on a fresh environment.

Expected Behavior

Running nargo compile downloads a backend and compiles successfully, without needing additional dependencies to be installed.

Bug

Nargo fails with /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found. This happens on an Ubuntu system.

To Reproduce

No response

Installation Method

Binary

Nargo Version

0.22.0+fe0b9975a28970af915b39f5f338e880577b60f8

Additional Context

I'd expect either noirup to download glibc automatically, or for the bb backend to not depend on dynamically loading glibc, or for the documentation to include it as a requirement.

Would you like to submit a PR for this Issue?

No

Support Needs

No response

@spalladino spalladino added the bug Something isn't working label Jan 23, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Jan 23, 2024
@Savio-Sou Savio-Sou added backend Proving backends nargo Noir's CLI development tool labels Jan 23, 2024
@TomAFrench
Copy link
Member

This issue was introduced in this PR afaik. I'm going to move this issue onto aztec-packages as it's in reality an issue with the bb build system.

Noir can't and shouldn't guarantee that it will provide a working environment for bb, instead bb should provide an official installation method for prebuilt binaries and test that this works on specified versions of ubuntu, etc.

I'd expect either noirup to download glibc automatically

We shouldn't try to fix this here as it's two hops away from where the requirement for this dynamic library is being introduced so we'll always be chasing future breaking changes in bb. We also don't want to get to the point where we're routinely asking users to reinstall noirup from scratch as that breaks the "just run noirup again" debugging step.

@TomAFrench
Copy link
Member

Looks like I can't transfer across orgs so I'm going to close this and reopen an issue over there.

@TomAFrench TomAFrench closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Jan 23, 2024
@spalladino
Copy link
Contributor Author

Thanks @TomAFrench!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Proving backends bug Something isn't working nargo Noir's CLI development tool
Projects
Archived in project
Development

No branches or pull requests

3 participants