0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

centos8: /bin/ld: -lc が見つかりません

Last updated at Posted at 2021-05-14

centos8 で chkrootkit を make したら以下のエラー

[root@msrv chkrootkit-0.53]# make sense
cc -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
cc -DHAVE_LASTLOG_H -o chkwtmp chkwtmp.c
cc -DHAVE_LASTLOG_H -D_FILE_OFFSET_BITS=64 -o ifpromisc ifpromisc.c
cc -o chkproc chkproc.c
cc -o chkdirs chkdirs.c
cc -o check_wtmpx check_wtmpx.c
cc -static -o strings-static strings.c
/bin/ld: -lc が見つかりません
collect2: エラー: ld はステータス 1 で終了しました
make: *** [Makefile:72: strings-static] エラー 1

静的ライブラリーがないのでインストールしたが見つからず。

centos 8.2 では以下でインストールできたが
dnf --enablerepo=PowerTools install glibc-static

centos 8.3 ではリポジトリが変わり以下でインストールします。
dnf --enablerepo=powertools install glibc-static

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?