$ yaf
yaf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by yaf)
yaf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/lib/x86_64-linux-gnu/libglib-2.0.so.0)
yaf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/lib/x86_64-linux-gnu/libglib-2.0.so.0)
yaf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/lib/x86_64-linux-gnu/libglib-2.0.so.0)
yaf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/lib/libyaf-2.11.0.so.4)
$
$ ls /lib/x86_64-linux-gnu/libc.so.6
/lib/x86_64-linux-gnu/libc.so.6
$
$ /lib/x86_64-linux-gnu/libc.so.6
GNU C Library (Debian GLIBC 2.31-13+deb11u8) stable release version 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.
Compiled by GNU CC version 10.2.1 20210110.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<http://www.debian.org/Bugs/>.
問題点
試験時にrelease-v2.9.0のタグ他付与されたDocker imageでyafを実行すると、glibc関連のエラーが発生しyafのログが生成されない。
解決方針
ビルド環境のglibcのバージョンと、実行時のglibcのバージョンを揃える。 具体的には、実行環境(zeek)のベースイメージとビルド環境のDocker imageを揃える。