-
Notifications
You must be signed in to change notification settings - Fork 444
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
Compiler error with folly : gflags invalid #13
Comments
We haven't tried to build on CentOS 7 as far as I know, looks like Folly doesn't build on that platform. You can build MapD without Folly, by passing |
Please follow these instructions here for centos 7 https://github.com/mapd/mapd-core#centos-7 We have a set of prebuild dependencies which should work for you and save you building them yourself. |
Closing, as instructions given for building Centos7 show how to make this work |
my OS is CENTOS 7
I download folly-2017.04.10.00.zip , but some wrong with folly
[root@localhost folly]# ./configure --prefix=/usr/local/mapd-deps
then "checking for main in -lgflags... yes
checking for gflags viability... no
configure: error: "gflags invalid, see config.log for details"
I am make gflags as compiler: /usr/local/lib/libgflags.a , is a static lib
vi config.log , said:
/usr/local/lib/libgflags.a(gflags.cc.o): In function `google::(anonymous namespace)::FlagRegistry::GlobalRegistry()':
gflags.cc:(.text+0xe96): undefined reference to `pthread_rwlock_wrlock'
gflags.cc:(.text+0xeae): undefined reference to `pthread_rwlock_unlock'
gflags.cc:(.text+0xf47): undefined reference to `pthread_rwlock_init'
The text was updated successfully, but these errors were encountered: