[ https://issues.apache.org/jira/browse/MINIFICPP-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211965#comment-16211965 ]
marco polo commented on MINIFICPP-262: -------------------------------------- [~calebj] Thanks for running that. That's disconcerting to hear about Arch. Do you think we could we could just replace our third party directories with civetweb 1.10v? Did you run anything to validate it? I'm not terribly worried about c++17 compatibility, but if the fix is as easy as updating third party dependencies, and it causes no compatibility issues, then I'm not sure there is any reason to not update. I thought json_cpp used auto_ptr as well, so I'm surprised that didn't cause issues either. At any rate, would you be willing to open a ticket RE the dependencies potentially needing to be updated? I'll open one if you prefer, but wanted to make sure you get credit for finding that. "I never had to merge PR150 to get a successful build on Trusty. Did you want me to test that, or the opposite?" I don't want to ask you to do that. I noticed some commits were missing from a PR merge and I think 150 needs to get in. It fixes a broken travis build too, so I'll double check tomorrow with Trusty and Centos 7 just to be certain I don't further break things. Thanks again. > Rocksdb fails to link > --------------------- > > Key: MINIFICPP-262 > URL: https://issues.apache.org/jira/browse/MINIFICPP-262 > Project: NiFi MiNiFi C++ > Issue Type: Bug > Reporter: Andrew Christianson > > Rocksdb fails to link when building on CentOS 7.4. [~calebj] seems to be > having the same issue on Ubuntu 14.04 as part of MINIFI-244. > {code} > [ 38%] Linking CXX static library librocksdb.a > [ 38%] Linking CXX shared library librocksdb.so > [ 60%] Built target rocksdb > [ 61%] Building CXX object > CMakeFiles/Tests.dir/thirdparty/spdlog-20170710/include/spdlog/dummy.cpp.o > [ 61%] Building CXX object > CMakeFiles/ControllerServiceIntegrationTests.dir/libminifi/test/TestBase.cpp.o > /usr/bin/ld: CMakeFiles/build_version.dir/__/__/build_version.cc.o: > relocation R_X86_64_32 against `.data' can not be used when making a shared > object; recompile with -fPIC > CMakeFiles/build_version.dir/__/__/build_version.cc.o: error adding symbols: > Bad value > collect2: error: ld returned 1 exit status > gmake[2]: *** [thirdparty/rocksdb/librocksdb.so.5.7.0] Error 1 > gmake[1]: *** [thirdparty/rocksdb/CMakeFiles/rocksdb-shared.dir/all] Error 2 > gmake[1]: *** Waiting for unfinished jobs.... > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)