Closed shrx closed 7 years ago
This seems bizarre (the nothreads version of gflags using pthreads). Adding -lpthread is a fine workaround. Can you specify what version of gflags you have and where is it from (e.g. what package in what distro?), so that I can bug gflags people about this?
I have the same bug with gflags version 2.1.2 on Fedora 25 x86_64.
I had the same issue on Gentoo Linux and fixed it by upgrading from gflags 2.1.2 to gflags 2.2.0.
@robryk I have libgflags-dev 2.1.2-3 (the latest available) installed on Xubuntu 16.10.
Building with gcc 6,
make
fails with: