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

Problem with minimum libc version #19

Closed
Paulo-21 opened this issue Sep 18, 2022 · 2 comments
Closed

Problem with minimum libc version #19

Paulo-21 opened this issue Sep 18, 2022 · 2 comments

Comments

@Paulo-21
Copy link

Hey, i got this error with your library, could we do something to make my program work on my relatively old computer ?

It seems that i only have libc 2.23

i precise that i cant perform upgarde on my machine

./client: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./client)
./client: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./client)
./client: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./client)
./client: /lib/i386-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./client)

Thank you

@Paulo-21
Copy link
Author

Sorry, i'm new to rust and computer
I solved the problem by statically building libc

RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target i686-unknown-linux-gnu
Have a good day and great work !

@1148118271
Copy link
Owner

Thank you for your blessings and I wish you a happy life.

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

2 participants