Problem description:
When I try to use cmake in replit (which is needed to install my package) it throws an error regarding missing GLIBC versions. It expects 3.34 but it’s actually 3.35
Expected behavior:
I expect cmake to build the package without errors.
Actual behavior:
When running cmake, I receive the following error:
/home/runner/unstructuredio/venv/lib/python3.10/site-packages/cmake/data/bin/cmake: /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/unstructuredio/venv/lib/python3.10/site-packages/cmake/data/bin/cmake: /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/unstructuredio/venv/lib/python3.10/site-packages/cmake/data/bin/cmake: /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/unstructuredio/venv/lib/python3.10/site-packages/cmake/data/bin/cmake: /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)
Steps to reproduce:
- Use replit and create a new Python 3.10 environment.
- Install the required package (e.g., OpenCV) using
pip
. - Attempt to run cmake in the replit environment to build the package.
- run
ldd --version
which should output
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.
Bug appears at this link:
https://replit.com/@TeamYingur/unstructuredio
The bug appears in the replit environment when trying to use cmake with the specified package.
Browser/OS/Device:
This issue occurs in the replit environment and is not specific to a browser, OS, or device.