Project

General

Profile

GLIBC

  1. 查看GLIBC版本
    getconf GNU_LIBC_VERSION
    dpkg -l | grep libc6
    strings /lib64/libc.so.6 | grep GLIBC
    ls -l /lib64/libc.so.6
    ldd --version
    
  2. buildroot修改GLIBC版本
    # 方法一:
      make menuconfig -> toolchain -> glibc version -> 选择指定版本
    # 方法二:
    < BR2_PACKAGE_GLIBC_LATEST=y
    < # BR2_PACKAGE_GLIBC_2_28 is not set
    ---
    > # BR2_PACKAGE_GLIBC_LATEST is not set
    > BR2_PACKAGE_GLIBC_2_28=y