You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
failing the cargo build I have attempted to run the binary:
robomotic$ ./c2patool
./c2patool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./c2patool)
./c2patool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./c2patool)
./c2patool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./c2patool)
My GLIBC is installed:
$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.16) 2.31
Copyright (C) 2020 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.
Any suggestions?
The text was updated successfully, but these errors were encountered:
robomotic
changed the title
Linux release binary GLIB not found
Linux release binary GLIBC not found
Dec 29, 2024
Same here. ☹ I would like to use c2patool on RedHat Enterprise Linux (RHEL) and got the same error. Problem is that the c2patool (v.0.10.2) needs libc in version 2.34 - and the latest c2patool (v.0.13.1) even 2.39 - but your Ubuntu only has libc in version 2.31. RHEL 8 only has 2.28 and RHEL 9 provides 2.34.
Solutions could be:
Using another Linux distribution (my private Manjaro Linux has exactly 2.39).
Using an older version of the c2patool.
Building your own c2patool with older libc dependency (don't know if that still works).
Build GLIBC 2.39 on your machine and link it: (didn't work for me)
yum install bison
wget http://ftp.gnu.org/gnu/libc/glibc-2.39.tar.xz
tar -xvf glibc-2.39.tar.xz
cd glibc-2.39
mkdir build && cd build
../configure --prefix=/usr/local/glibc-2.39
make -j1 && make install
export LD_LIBRARY_PATH=/usr/local/glibc-2.39/lib:$LD_LIBRARY_PATH
export LD_PRELOAD=/usr/local/glibc-2.39/lib/libc.so.6
Using a docker container like this
FROM rust:1.84
# Install cargo-binstall
RUN cargo install cargo-binstall
# Install c2patool
RUN cargo binstall c2patool --no-confirm
# add to PATH
ENV PATH="/root/.cargo/bin:${PATH}"
# Set c2patool as entrypoint
ENTRYPOINT ["c2patool"]
# show help if args missing
CMD ["--help"]
# docker build -t c2patool .
# docker run --rm c2patool <command>
Hi there,
failing the cargo build I have attempted to run the binary:
My GLIBC is installed:
Any suggestions?
The text was updated successfully, but these errors were encountered: