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

dprint: /lib64/libm.so.6: version `GLIBC_2.29' not found #796

Open
xemlock opened this issue Nov 30, 2023 · 1 comment
Open

dprint: /lib64/libm.so.6: version `GLIBC_2.29' not found #796

xemlock opened this issue Nov 30, 2023 · 1 comment

Comments

@xemlock
Copy link

xemlock commented Nov 30, 2023

I tried to run dprint in Jenkins (CentOS), and it failed with:

dprint: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by node_modules/dprint/dprint)

dprint: /lib64/libc.so.6: version `GLIBC_2.29' not found (required by node_modules/dprint/dprint)

This looks similarly to issue to oven-sh/bun#255, so I guess the solution would be to provide statically linked binaries.

System info:

$ uname -a
Linux linagent-rxjili 4.18.0-448.el8.x86_64 #1 SMP Wed Jan 18 15:02:46 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

$ ldd --version
ldd (GNU libc) 2.28

$ npm ls dprint
└── dprint@0.43.0
@dsherret
Copy link
Member

dsherret commented Dec 1, 2023

Seems like #483 again. I fixed it last time by using an old Ubuntu (ubuntu-18.04) on GitHub actions, but unfortunately they took away the old ubuntu so I had to upgrade to ubuntu-20.04.

As a workaround, you might have to install dprint via cargo install dprint on that system to get it working.

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