错误问题:
riscv-nuclei-linux-gnu-gcc: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.32' not found (required by riscv-nuclei-linux-gnu-gcc) riscv-nuclei-linux-gnu-gcc: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.33’ not found (required by riscv-nuclei-linux-gnu-gcc)
riscv-nuclei-linux-gnu-gcc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34’ not found (required by riscv-nuclei-linux-gnu-gcc)
检查版本
strings /lib/x86_64-linux-gnu/libc.so.6 |grep GLIBC_
sudo vi /etc/apt/sources.list
deb http://th.archive.ubuntu.com/ubuntu jammy main #添加该行到文件
sudo apt update
sudo apt install libc6