liyh1984 / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

Error compiling glog-0.3.3 #216

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./configure
2. make
3.

What is the expected output? What do you see instead?
Compilation ok

What version of the product are you using? On what operating system?
glog-0.3.3
CentOS 7.0.1406 64bits

Please provide any additional information below.
We follow all instructions to install Certicate Transparency, but trying to 
compile glogs we receive this error:

/usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): relocation R_X86_64_32S 
against `.rodata' can not be used when making a shared object; recompile with 
-fPIC
/usr/local/lib/libgflags.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [libglog.la] Error 1

We tried with glog-0.3.2 too, and the result is the same. 
Thanks

Original issue reported on code.google.com by serosc...@gmail.com on 17 Jul 2014 at 9:57