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

Provide install documentation for Deno for environments using older releases of glibc #149

Open
nellh opened this issue Feb 3, 2025 · 1 comment

Comments

@nellh
Copy link
Member

nellh commented Feb 3, 2025

A user reported Deno doesn't run on glibc 2.18 (released in 2013). We should point at instructions for a workaround (possibly Conda?).

@yarikoptic
Copy link
Contributor

FTR, even oldoldstable debian buster has 2.28 https://packages.debian.org/buster/libc6 ...

I do not think it is neither feasible nor productive to strive to support arbitrarily old systems, unless there is either a way to get a static build of executable, or provide some "standalone" collection of binaries like we do for git-annex-standalone:

$> dpkg -L git-annex-standalone | grep libc
/usr/lib/git-annex.linux/lib/x86_64-linux-gnu/glibc-hwcaps
/usr/lib/git-annex.linux/lib/x86_64-linux-gnu/libc.so.6
/usr/lib/git-annex.linux/lib/x86_64-linux-gnu/libc_malloc_debug.so.0
/usr/lib/git-annex.linux/lib/x86_64-linux-gnu/libcom_err.so.2
/usr/lib/git-annex.linux/lib/x86_64-linux-gnu/libcrypto.so.3
/usr/lib/git-annex.linux/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
/usr/lib/git-annex.linux/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2
/usr/lib/git-annex.linux/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v3
/usr/lib/git-annex.linux/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v4

FTR, ATM

yoh@typhon:~$ ldd bids-validator 
	linux-vdso.so.1 (0x00007ffdf9ff6000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0837c64000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0837c44000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0837c3f000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0837c3a000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0837b5b000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f083261f000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f0837c8c000)

and potentially relevant discussion I googled up:

Having said that, worth testing if base system version matters while compiling binaries (#148 ) and thus choosing some "the oldest most reasonable" base. For that reason e.g. we still somewhat favor older OSX for git-annex builds in https://github.com/datalad/git-annex/blob/master/.github/workflows/build-macos.yaml#L27 .

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