dprint / dprint

Pluggable and configurable code formatting platform written in Rust.

Home Page:https://dprint.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

xemlock opened this issue · comments

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

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.