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

how to debug GLIBC issues? #143

Open
ahoward opened this issue Dec 29, 2020 · 1 comment
Open

how to debug GLIBC issues? #143

ahoward opened this issue Dec 29, 2020 · 1 comment

Comments

@ahoward
Copy link

ahoward commented Dec 29, 2020

in producing a basic hello world, on an ubuntu box, and then trying to run it locally on my laptop (which has no ruby installed and is a good test case) i will get

ahoward@penguin:~$ ./senv 
./senv: /lib/x86_64-linux-gnu/libcrypt.so.1: version `XCRYPT_2.0' not found (required by ./senv)
./senv: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./senv)

what strategy would you recommend to debug this? by debug, i mean determining a workaround.

@ahoward
Copy link
Author

ahoward commented Dec 29, 2020

also, fwiw, i get this same issue from the reference compiled ruby here

when i run it, it looks like:

https://github.com/enclose-io/ruby/releases/download/v2.7.1-linux/ruby

ahoward@penguin:~/tmp$ curl -sLO https://github.com/enclose-io/ruby/releases/download/v2.7.1-linux/ruby
ahoward@penguin:~/tmp$ chmod 755 ./ruby
ahoward@penguin:~/tmp$ ./ruby
./ruby: /lib/x86_64-linux-gnu/libcrypt.so.1: version `XCRYPT_2.0' not found (required by ./ruby)
./ruby: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./ruby)
ahoward@penguin:~/tmp$ uname -a
Linux penguin 5.4.58-07649-ge120df5deade #1 SMP PREEMPT Wed Aug 26 04:56:33 PDT 2020 x86_64 GNU/Linux

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

1 participant