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

About minimum libc version supported #105

Closed
genaris opened this issue Feb 10, 2023 · 4 comments
Closed

About minimum libc version supported #105

genaris opened this issue Feb 10, 2023 · 4 comments

Comments

@genaris
Copy link
Contributor

genaris commented Feb 10, 2023

Today, when integrating anoncreds-rs in AFJ, CI/CD failed with the following error:

Dynamic Linking Error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/runner/work/aries-framework-javascript/aries-framework-javascript/node_modules/@hyperledger/anoncreds-nodejs/native/libanoncreds.so)

CI was set up to use a container based on Ubuntu 20.04, whose libc version is older than 2.33 (as this version was released in 2021). Our particular issue was solved by upgrading to Ubuntu 22.04, but I would like to know if this is on purpose or it is possible to use an older libc version.

I noticed that in both aries-askar and indy-vdr, cross is used when building for Linux targets. There is a comment stating: using cross here to build against an older glibc for compatibility.

Should we use cross here as well to support older platforms?

@berendsliedrecht
Copy link
Contributor

I don't think that it is done on purpose here and if using cross will allow for compatibility with ubuntu 20.04 and other slightly older platforms we should definitely add it in this repository as well.

@andrewwhitehead was that the reason cross was used for aries-askar and indy-vdr?

@swcurran
Copy link
Member

swcurran commented Apr 6, 2023

@blu3beri — is this fixed now?

@berendsliedrecht
Copy link
Contributor

Have not taken a look yet so I doubt it. For sure something that needs resolving.

@TimoGlastra
Copy link
Member

Not fixed yet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants