This PR temporary reverts #429
We faced issues while running nri-flex on some environments because of dependency on glibc
This happens when using cgo (e.g. github.com/mattn/go-sqlite3)
Will revert this change until we find a fix
./nri-flex: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./nri-flex)
linux-vdso.so.1 (0x00007fff69b98000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f296dd88000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f296db69000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f296d778000)
/lib64/ld-linux-x86-64.so.2 (0x00007f296df8c000)
symbol fcntl64 version GLIBC_2.28 not defined in file libc.so.6 with link time reference (./nri-flex)
Trying to compile it without gcc points to the library using it:
github.com/mattn/go-sqlite3
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH
This PR temporary reverts #429 We faced issues while running nri-flex on some environments because of dependency on glibc
This happens when using cgo (e.g. github.com/mattn/go-sqlite3) Will revert this change until we find a fix
./nri-flex: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./nri-flex) linux-vdso.so.1 (0x00007fff69b98000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f296dd88000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f296db69000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f296d778000) /lib64/ld-linux-x86-64.so.2 (0x00007f296df8c000) symbol fcntl64 version GLIBC_2.28 not defined in file libc.so.6 with link time reference (./nri-flex)
Trying to compile it without gcc points to the library using it:
github.com/mattn/go-sqlite3
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH