GLIBC version issues on python repl

Bug description:
On a new python repl, pip install playwright, then playwright install produces:

~/DizzySparklingScript$ playwright install
/home/runner/DizzySparklingScript/venv/lib/python3.10/site-packages/playwright/driver/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
/home/runner/DizzySparklingScript/venv/lib/python3.10/site-packages/playwright/driver/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
/home/runner/DizzySparklingScript/venv/lib/python3.10/site-packages/playwright/driver/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libstdc++.so.6)
/home/runner/DizzySparklingScript/venv/lib/python3.10/site-packages/playwright/driver/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /nix/store/mdck89nsfisflwjv6xv8ydj7dj0sj2pn-gcc-11.3.0-lib/lib/libgcc_s.so.1)

ldd --version says that GLIBC 2.35 is installed, but ls /usr/lib/x86_64-linux-gnu/libc-* says version 2.31 is installed:

~/DizzySparklingScript$ ldd --version
ldd (GNU libc) 2.35
$Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$Written by Roland McGrath and Ulrich Drepper.
~/DizzySparklingScript$ ls /usr/lib/x86_64-linux-gnu/libc-*
/usr/lib/x86_64-linux-gnu/libc-2.31.so

Expected vs Current Behavior:
Either it’s looking for 2.34 when it should be looking for 2.35, or it’s looking for 2.35 and can’t find it because it thinks 2.31 is installed.

Regardless, it seems likely the issue is relevant to ldd --version and ls /usr/lib/x86_64-linux-gnu/libc-* returning contradicting versions. Is the system using 2.35 or 2.31?

Steps to reproduce:

  1. Create new python repl
  2. pip install playwright
  3. chmod +x /home/runner/DizzySparklingScript/venv/lib/python3.10/site-packages/playwright/driver/playwright.sh
  4. playwright install

Bug appears at this link: https://replit.com/@ShopfuelMatt/DizzySparklingScript

Browser/OS/Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

Replit Profile: https://replit.com/@ShopfuelMatt

2 Likes

I have a very similar issue with Stockfish module.