facebook/wangle

fail to build wangle in centos6.6

yjr930 opened this issue · 3 comments

when cmake, it says:

-- The CXX compiler identification is GNU 8.2.0
-- The C compiler identification is GNU 8.2.0
....
....
-- Found Threads: TRUE
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- system
-- thread
-- filesystem
-- regex
-- context
-- chrono
-- date_time
-- atomic
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.0.1e")
-- Found glog: /usr/local/lib64/libglog.a
-- Found gflags: /usr/local/lib/libgflags.a
-- Found libevent: /usr/local/lib/libevent.so
-- Found double_conversion: /usr/local/lib/libdouble-conversion.a
-- Found librt: /usr/lib64/librt.so
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Looking for SSL_SESSION_dup in ssl
-- Looking for SSL_SESSION_dup in ssl - not found
-- Found LIBGMOCK: /usr/local/lib64/libgmock_main.a
-- Configuring done
CMake Error at CMakeLists.txt:226 (add_executable):
Target "FilePollerTest" links to target "glog::glog" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:253 (add_gtest)

....
....
....

CMake Error at CMakeLists.txt:226 (add_executable):
Target "TLSCredProcessorTest" links to target "glog::glog" but the target
was not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
Call Stack (most recent call first):
CMakeLists.txt:252 (add_gtest)

-- Generating done

I had installed glog and cmake found it. But what is glog::glog?
if I make it then, It will say that "ld can't find lglog::glog" and fails.

Do you have the SRPM for Boost 1.66+ on CentOS 6?

If you share with me your SRPMS, I will be able to build the RPM for CentOS 6

Closing this issue since it is too old, and since folly no longer targets CentOS 6.