-
Notifications
You must be signed in to change notification settings - Fork 974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to link with libgflags_nothreads.so: undefined reference to `pthread_rwlock_unlock' #14
Comments
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:The text was updated successfully, but these errors were encountered: