본문 바로가기

리눅스

glibc (GNU C 라이브러리)의 버전을 확인하는 방법

반응형

glibc (GNU C 라이브러리)의 버전을 확인하는 방법

  • 우분투 운영체제의 버전 정보 확인
lsb_release -d
$ lsb_release -d
Description:	Ubuntu 22.04.2 LTS
  • glibc 버전을 확인하는 방법
ldd --version
$ ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3) 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.
  • 현재 시스템의 glibc 버전을 확인
getconf -a | grep libc
$ getconf -a | grep libc
GNU_LIBC_VERSION                   glibc 2.35

 

728x90
반응형