Mapd error while setting up


#1

Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/AbortMultipartUploadResult.cpp.o
[ 94%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/StorageClass.cpp.o
[ 94%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/TopicConfigurationDeprecated.cpp.o
[ 95%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/NoncurrentVersionExpiration.cpp.o
[ 95%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/UploadPartRequest.cpp.o
[ 95%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/PutBucketLoggingRequest.cpp.o
[ 95%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/GetBucketAclResult.cpp.o
[ 96%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/AccessControlTranslation.cpp.o
[ 96%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/Tag.cpp.o
[ 96%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/S3Location.cpp.o
[ 97%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/InventoryDestination.cpp.o
[ 97%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/CompletedMultipartUpload.cpp.o
[ 97%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/ListBucketAnalyticsConfigurationsRequest.cpp.o
[ 97%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/NotificationConfiguration.cpp.o
[ 98%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/ReplicationStatus.cpp.o
[ 98%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/GetBucketLocationResult.cpp.o
[ 98%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/HeadObjectRequest.cpp.o
[ 98%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/MFADelete.cpp.o
[ 99%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/JSONType.cpp.o
[ 99%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/DeleteObjectsRequest.cpp.o
[ 99%] Building CXX object aws-cpp-sdk-s3/CMakeFiles/aws-cpp-sdk-s3.dir/source/model/Payer.cpp.o
[ 99%] Linking CXX static library libaws-cpp-sdk-s3.a
[ 99%] Built target aws-cpp-sdk-s3
Makefile:127: recipe for target ‘all’ failed
make: *** [all] Error 2

i am getting this error while setting up mapd in ubuntu 16.04


#2

Hi @nagulan -

Have you installed all of the dependencies as was suggested here: Mapd development requriments

As @alexb noted in the other thread, if you’re going to use Ubuntu 16.04, it’s likely you will need to build some of the dependencies yourself to make this work.

Once you have confirmed all of the dependencies are built correctly, if you are still running into issues, please post your full build log and we can try and debug from there.

Best,
Randy


#3

@randyzwitch
i have installed all dependencies and while building
first two steps were running fine

mkdir build && cd build
cmake -DENABLE_TSAN=on -DENABLE_CUDA=off ..

makefile was created
then i run ```
make -j 4


QueryEngine/CMakeFiles/QueryEngine.dir/build.make:771: recipe for target 'QueryEngine/CMakeFiles/QueryEngine.dir/FromTableReordering.cpp.o' failed
make[2]: *** [QueryEngine/CMakeFiles/QueryEngine.dir/FromTableReordering.cpp.o] Error 1
CMakeFiles/Makefile2:1600: recipe for target 'QueryEngine/CMakeFiles/QueryEngine.dir/all' failed
make[1]: *** [QueryEngine/CMakeFiles/QueryEngine.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

i have issue while i run last make command
can you please help me
you can ping me if above issue is not clear

#4

this is full logs:

thickstat@nagulan:~/mapd-core$ make -j 4

/usr/local/mapd-deps/lib/libthrift.so: undefined reference to sk_pop_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toCRYPTO_set_dynlock_lock_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_get_verify_result@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_shutdown@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to `SSL_get_peer_certificate@OPENSSL_1.0.0’
collect2: error: ld returned 1 exit status
Import/CMakeFiles/KafkaImporter.dir/build.make:110: recipe for target ‘bin/KafkaImporter’ failed
make[2]: *** [bin/KafkaImporter] Error 1
CMakeFiles/Makefile2:1456: recipe for target ‘Import/CMakeFiles/KafkaImporter.dir/all’ failed
make[1]: *** [Import/CMakeFiles/KafkaImporter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
– Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
– Configuring done
– Generating done
– Build files have been written to: /home/thickstat/mapd-core
[ 56%] Built target rerun_cmake
[ 56%] Building CXX object QueryEngine/CMakeFiles/QueryEngine.dir/FromTableReordering.cpp.o
[ 56%] Building CXX object QueryEngine/CMakeFiles/QueryEngine.dir/LLVMGlobalContext.cpp.o
[ 56%] Building CXX object QueryEngine/CMakeFiles/QueryEngine.dir/LLVMFunctionAttributesUtil.cpp.o
[ 57%] Building CXX object QueryEngine/CMakeFiles/QueryEngine.dir/MaxwellCodegenPatch.cpp.o
[ 57%] Building CXX object QueryEngine/CMakeFiles/QueryEngine.dir/MurmurHash.cpp.o
[ 57%] Building CXX object QueryEngine/CMakeFiles/QueryEngine.dir/NativeCodegen.cpp.o
In file included from /usr/include/c++/5/bits/hashtable.h:35:0,
from /usr/include/c++/5/unordered_map:47,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/InsertOrderFragmenter.h:24,
from /home/thickstat/mapd-core/SQLFrontend/mapdql.cpp:53:
/usr/include/c++/5/bits/hashtable_policy.h: In instantiation of ‘struct std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash >’:
/usr/include/c++/5/type_traits:137:12: required from ‘struct std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > >’
/usr/include/c++/5/type_traits:148:38: required from ‘struct std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
/usr/include/c++/5/bits/unordered_map.h:100:65: required from ‘class std::unordered_map<const TDBObjectType::type, const std::vector<std::__cxx11::basic_string > >’
/home/thickstat/mapd-core/SQLFrontend/mapdql.cpp:862:7: required from here
/usr/include/c++/5/bits/hashtable_policy.h:85:34: error: no match for call to ‘(const std::hash) (const TDBObjectType::type&)’
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
In file included from /usr/include/c++/5/bits/move.h:57:0,
from /usr/include/c++/5/bits/stl_pair.h:59,
from /usr/include/c++/5/bits/stl_algobase.h:64,
from /usr/include/c++/5/bits/char_traits.h:39,
from /usr/include/c++/5/ios:40,
from /usr/include/c++/5/ostream:38,
from /usr/include/glog/logging.h:43,
from /home/thickstat/mapd-core/SQLFrontend/mapdql.cpp:25:
/usr/include/c++/5/type_traits: In instantiation of ‘struct std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’:
/usr/include/c++/5/bits/unordered_map.h:100:65: required from ‘class std::unordered_map<const TDBObjectType::type, const std::vector<std::__cxx11::basic_string > >’
/home/thickstat/mapd-core/SQLFrontend/mapdql.cpp:862:7: required from here
/usr/include/c++/5/type_traits:148:38: error: ‘value’ is not a member of ‘std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > >’
: public integral_constant<bool, !_Pp::value>
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/InsertOrderFragmenter.h:24,
from /home/thickstat/mapd-core/SQLFrontend/mapdql.cpp:53:
/usr/include/c++/5/bits/unordered_map.h: In instantiation of ‘class std::unordered_map<const TDBObjectType::type, const std::vector<std::__cxx11::basic_string > >’:
/home/thickstat/mapd-core/SQLFrontend/mapdql.cpp:862:7: required from here
/usr/include/c++/5/bits/unordered_map.h:100:65: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef __umap_hashtable<_Key, _Tp, _Hash, _Pred, _Alloc> _Hashtable;
^
/usr/include/c++/5/bits/unordered_map.h:107:45: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::key_type key_type;
^
/usr/include/c++/5/bits/unordered_map.h:108:47: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::value_type value_type;
^
/usr/include/c++/5/bits/unordered_map.h:109:48: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::mapped_type mapped_type;
^
/usr/include/c++/5/bits/unordered_map.h:110:43: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::hasher hasher;
^
/usr/include/c++/5/bits/unordered_map.h:111:46: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::key_equal key_equal;
^
/usr/include/c++/5/bits/unordered_map.h:112:51: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::allocator_type allocator_type;
^
/usr/include/c++/5/bits/unordered_map.h:117:44: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::pointer pointer;
^
/usr/include/c++/5/bits/unordered_map.h:118:50: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::const_pointer const_pointer;
^
/usr/include/c++/5/bits/unordered_map.h:119:46: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::reference reference;
^
/usr/include/c++/5/bits/unordered_map.h:120:52: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::const_reference const_reference;
^
/usr/include/c++/5/bits/unordered_map.h:121:45: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::iterator iterator;
^
/usr/include/c++/5/bits/unordered_map.h:122:51: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::const_iterator const_iterator;
^
/usr/include/c++/5/bits/unordered_map.h:123:51: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::local_iterator local_iterator;
^
/usr/include/c++/5/bits/unordered_map.h:124:57: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::const_local_iterator const_local_iterator;
^
/usr/include/c++/5/bits/unordered_map.h:125:46: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::size_type size_type;
^
/usr/include/c++/5/bits/unordered_map.h:126:52: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
typedef typename _Hashtable::difference_type difference_type;
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/SQLFrontend/…/Fragmenter/InsertOrderFragmenter.h:24,
from /home/thickstat/mapd-core/SQLFrontend/mapdql.cpp:53:
/usr/include/c++/5/bits/unordered_map.h:280:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<const TDBObjectType::type, std::hash > > >’
operator=(initializer_list<value_type> __l)
^
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h: In instantiation of ‘class std::unordered_map<SQLTypes, unsigned int>’:
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:31:45: required from here
/usr/include/c++/5/bits/unordered_map.h:100:65: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef __umap_hashtable<_Key, _Tp, _Hash, _Pred, _Alloc> _Hashtable;
^
/usr/include/c++/5/bits/unordered_map.h:107:45: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::key_type key_type;
^
/usr/include/c++/5/bits/unordered_map.h:108:47: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::value_type value_type;
^
/usr/include/c++/5/bits/unordered_map.h:109:48: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::mapped_type mapped_type;
^
/usr/include/c++/5/bits/unordered_map.h:110:43: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::hasher hasher;
^
/usr/include/c++/5/bits/unordered_map.h:111:46: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::key_equal key_equal;
^
/usr/include/c++/5/bits/unordered_map.h:112:51: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::allocator_type allocator_type;
^
/usr/include/c++/5/bits/unordered_map.h:117:44: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::pointer pointer;
^
/usr/include/c++/5/bits/unordered_map.h:118:50: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::const_pointer const_pointer;
^
/usr/include/c++/5/bits/unordered_map.h:119:46: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::reference reference;
^
/usr/include/c++/5/bits/unordered_map.h:120:52: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::const_reference const_reference;
^
/usr/include/c++/5/bits/unordered_map.h:121:45: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::iterator iterator;
^
/usr/include/c++/5/bits/unordered_map.h:122:51: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::const_iterator const_iterator;
^
/usr/include/c++/5/bits/unordered_map.h:123:51: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::local_iterator local_iterator;
^
/usr/include/c++/5/bits/unordered_map.h:124:57: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::const_local_iterator const_local_iterator;
^
/usr/include/c++/5/bits/unordered_map.h:125:46: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::size_type size_type;
^
/usr/include/c++/5/bits/unordered_map.h:126:52: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::difference_type difference_type;
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h:280:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
operator=(initializer_list<value_type> __l)
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h:379:2: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
emplace(_Args&&… __args)
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h:432:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
insert(const value_type& __x)
^
/usr/include/c++/5/bits/unordered_map.h:439:2: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
insert(_Pair&& __x)
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h:499:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
insert(initializer_list<value_type> __l)
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h:645:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
equal_range(const key_type& __x)
^
/usr/include/c++/5/bits/unordered_map.h:649:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
equal_range(const key_type& __x) const
^
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:34:79: error: too many initializers for ‘std::unordered_map<SQLTypes, unsigned int>’
{kMULTIPOLYGON, 90}};
^
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp: In function ‘std::pair<unsigned int, unsigned int> {anonymous}::get_join_qual_cost(const Analyzer::Expr*, const Executor*)’:
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:54:43: error: no match for ‘operator’ (operand types are ‘std::unordered_map<SQLTypes, unsigned int>’ and ‘__gnu_cxx::__alloc_traits<std::allocator >::value_type {aka SQLTypes}’)
const auto rhs_cost = GEO_TYPE_COSTS[geo_types_for_func[0]];
^
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:55:43: error: no match for ‘operator’ (operand types are ‘std::unordered_map<SQLTypes, unsigned int>’ and ‘__gnu_cxx::__alloc_traits<std::allocator >::value_type {aka SQLTypes}’)
const auto lhs_cost = GEO_TYPE_COSTS[geo_types_for_func[1]];
^
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:56:33: error: could not convert ‘{lhs_cost, rhs_cost}’ from ‘’ to ‘std::pair<unsigned int, unsigned int>’
return {lhs_cost, rhs_cost};
^
QueryEngine/CMakeFiles/QueryEngine.dir/build.make:771: recipe for target ‘QueryEngine/CMakeFiles/QueryEngine.dir/FromTableReordering.cpp.o’ failed
make[2]: *** [QueryEngine/CMakeFiles/QueryEngine.dir/FromTableReordering.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
CMakeFiles/Makefile2:1600: recipe for target ‘QueryEngine/CMakeFiles/QueryEngine.dir/all’ failed
make[1]: *** [QueryEngine/CMakeFiles/QueryEngine.dir/all] Error 2
Makefile:160: recipe for target ‘all’ failed
make: *** [all] Error 2```


#5

Could you re-run the build process, but just make instead of make -j 4? With the parallel building, it’s difficult to see when the actual error is occurring.


#6

thickstat@nagulan:~/mapd-core$ make
[ 2%] Built target mapd_thrift
[ 3%] Built target token_completion_hints
– Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
– Configuring done
– Generating done
– Build files have been written to: /home/thickstat/mapd-core
[ 3%] Built target rerun_cmake
[ 4%] Built target sqlite3
[ 5%] Built target bcrypt
[ 6%] Built target SqliteConnector
[ 8%] Built target Utils
[ 9%] Built target StringDictionary
[ 11%] Built target calciteserver_thrift
[ 12%] Built target Fragmenter
[ 13%] Built target Catalog
[ 14%] Built target Calcite
[ 14%] Built target ScannerFiles
[ 14%] Built target ParserFiles
[ 15%] Built target Analyzer
[ 16%] Built target CudaMgr
[ 21%] Built target DataMgr
[ 23%] Built target Shared
[ 23%] Building CXX object QueryEngine/CMakeFiles/QueryEngine.dir/FromTableReordering.cpp.o
In file included from /usr/include/c++/5/bits/hashtable.h:35:0,
from /usr/include/c++/5/unordered_map:47,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/hashtable_policy.h: In instantiation of ‘struct std::__detail::__is_noexcept_hash<SQLTypes, std::hash >’:
/usr/include/c++/5/type_traits:137:12: required from ‘struct std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > >’
/usr/include/c++/5/type_traits:148:38: required from ‘struct std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
/usr/include/c++/5/bits/unordered_map.h:100:65: required from ‘class std::unordered_map<SQLTypes, unsigned int>’
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:31:45: required from here
/usr/include/c++/5/bits/hashtable_policy.h:85:34: error: no match for call to ‘(const std::hash) (const SQLTypes&)’
noexcept(declval<const _Hash&>()(declval<const _Key&>()))>
^
In file included from /usr/include/c++/5/bits/move.h:57:0,
from /usr/include/c++/5/bits/stl_pair.h:59,
from /usr/include/c++/5/bits/stl_algobase.h:64,
from /usr/include/c++/5/bits/char_traits.h:39,
from /usr/include/c++/5/string:40,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:21,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/type_traits: In instantiation of ‘struct std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’:
/usr/include/c++/5/bits/unordered_map.h:100:65: required from ‘class std::unordered_map<SQLTypes, unsigned int>’
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:31:45: required from here
/usr/include/c++/5/type_traits:148:38: error: ‘value’ is not a member of ‘std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > >’
: public integral_constant<bool, !_Pp::value>
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h: In instantiation of ‘class std::unordered_map<SQLTypes, unsigned int>’:
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:31:45: required from here
/usr/include/c++/5/bits/unordered_map.h:100:65: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef __umap_hashtable<_Key, _Tp, _Hash, _Pred, _Alloc> _Hashtable;
^
/usr/include/c++/5/bits/unordered_map.h:107:45: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::key_type key_type;
^
/usr/include/c++/5/bits/unordered_map.h:108:47: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::value_type value_type;
^
/usr/include/c++/5/bits/unordered_map.h:109:48: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::mapped_type mapped_type;
^
/usr/include/c++/5/bits/unordered_map.h:110:43: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::hasher hasher;
^
/usr/include/c++/5/bits/unordered_map.h:111:46: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::key_equal key_equal;
^
/usr/include/c++/5/bits/unordered_map.h:112:51: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::allocator_type allocator_type;
^
/usr/include/c++/5/bits/unordered_map.h:117:44: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::pointer pointer;
^
/usr/include/c++/5/bits/unordered_map.h:118:50: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::const_pointer const_pointer;
^
/usr/include/c++/5/bits/unordered_map.h:119:46: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::reference reference;
^
/usr/include/c++/5/bits/unordered_map.h:120:52: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::const_reference const_reference;
^
/usr/include/c++/5/bits/unordered_map.h:121:45: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::iterator iterator;
^
/usr/include/c++/5/bits/unordered_map.h:122:51: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::const_iterator const_iterator;
^
/usr/include/c++/5/bits/unordered_map.h:123:51: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::local_iterator local_iterator;
^
/usr/include/c++/5/bits/unordered_map.h:124:57: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::const_local_iterator const_local_iterator;
^
/usr/include/c++/5/bits/unordered_map.h:125:46: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::size_type size_type;
^
/usr/include/c++/5/bits/unordered_map.h:126:52: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
typedef typename _Hashtable::difference_type difference_type;
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h:280:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
operator=(initializer_list<value_type> __l)
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h:379:2: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
emplace(_Args&&… __args)
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h:432:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
insert(const value_type& __x)
^
/usr/include/c++/5/bits/unordered_map.h:439:2: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
insert(_Pair&& __x)
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h:499:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
insert(initializer_list<value_type> __l)
^
In file included from /usr/include/c++/5/unordered_map:48:0,
from /usr/local/mapd-deps/lib/…/include/folly/concurrency/CacheLocality.h:28,
from /usr/local/mapd-deps/lib/…/include/folly/SharedMutex.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/…/Shared/mapd_shared_mutex.h:23,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/…/DataMgr/DataMgr.h:25,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/…/Chunk/Chunk.h:30,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/…/Shared/UpdelRoll.h:24,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/…/Fragmenter/AbstractFragmenter.h:28,
from /home/thickstat/mapd-core/QueryEngine/…/Catalog/TableDescriptor.h:23,
from /home/thickstat/mapd-core/QueryEngine/InputDescriptors.h:20,
from /home/thickstat/mapd-core/QueryEngine/InputMetadata.h:20,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.h:19,
from /home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:17:
/usr/include/c++/5/bits/unordered_map.h:645:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
equal_range(const key_type& __x)
^
/usr/include/c++/5/bits/unordered_map.h:649:7: error: ‘value’ is not a member of ‘std::_not<std::_and<std::__is_fast_hash<std::hash >, std::__detail::__is_noexcept_hash<SQLTypes, std::hash > > >’
equal_range(const key_type& __x) const
^
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:34:79: error: too many initializers for ‘std::unordered_map<SQLTypes, unsigned int>’
{kMULTIPOLYGON, 90}};
^
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp: In function ‘std::pair<unsigned int, unsigned int> {anonymous}::get_join_qual_cost(const Analyzer::Expr*, const Executor*)’:
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:54:43: error: no match for ‘operator’ (operand types are ‘std::unordered_map<SQLTypes, unsigned int>’ and ‘__gnu_cxx::__alloc_traits<std::allocator >::value_type {aka SQLTypes}’)
const auto rhs_cost = GEO_TYPE_COSTS[geo_types_for_func[0]];
^
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:55:43: error: no match for ‘operator’ (operand types are ‘std::unordered_map<SQLTypes, unsigned int>’ and ‘__gnu_cxx::__alloc_traits<std::allocator >::value_type {aka SQLTypes}’)
const auto lhs_cost = GEO_TYPE_COSTS[geo_types_for_func[1]];
^
/home/thickstat/mapd-core/QueryEngine/FromTableReordering.cpp:56:33: error: could not convert ‘{lhs_cost, rhs_cost}’ from ‘’ to ‘std::pair<unsigned int, unsigned int>’
return {lhs_cost, rhs_cost};
^
QueryEngine/CMakeFiles/QueryEngine.dir/build.make:771: recipe for target ‘QueryEngine/CMakeFiles/QueryEngine.dir/FromTableReordering.cpp.o’ failed
make[2]: *** [QueryEngine/CMakeFiles/QueryEngine.dir/FromTableReordering.cpp.o] Error 1
CMakeFiles/Makefile2:1600: recipe for target ‘QueryEngine/CMakeFiles/QueryEngine.dir/all’ failed
make[1]: *** [QueryEngine/CMakeFiles/QueryEngine.dir/all] Error 2
Makefile:160: recipe for target ‘all’ failed
make: *** [all] Error 2


#7

Hi @nagulan -

I spoke with an internal engineer, his belief is that it’s gcc causing the problem here. Even though our README says gcc 5.1+, at this point the minimum for gcc is likely 6. Is that something you could try and report back?

Best,
Randy


#8

@randyzwitch
thankyou for your reply
i am using gcc version 5.3.1 only


#9

[ 2%] Built target calciteserver_thrift
[ 4%] Built target mapd_thrift
– Found ZLIB: /home/thickstat/anaconda3/lib/libz.so (found version “1.2.11”)
– Found PNG: /home/thickstat/anaconda3/lib/libpng.so (found version “1.6.34”)
– Configuring done
– Generating done
– Build files have been written to: /home/thickstat/Downloads/mapd-core/build
[ 4%] Built target rerun_cmake
[ 5%] Built target sqlite3
[ 7%] Built target bcrypt
[ 8%] Built target SqliteConnector
[ 9%] Built target Utils
[ 10%] Built target StringDictionary
[ 11%] Built target Fragmenter
[ 12%] Built target Calcite
[ 14%] Built target Catalog
[ 14%] Built target ScannerFiles
[ 14%] Built target ParserFiles
[ 14%] Built target Analyzer
[ 15%] Built target CudaMgr
[ 20%] Built target DataMgr
[ 22%] Built target Shared
[ 48%] Built target QueryEngine
[ 48%] Built target Planner
[ 51%] Built target Parser
[ 51%] Built target Chunk
[ 52%] Built target CsvImport
[ 53%] Built target QueryRunner
[ 54%] Built target token_completion_hints
[ 55%] Built target thrift_handler
[ 55%] Linking CXX executable bin/mapd_server
/usr/bin/ld: warning: libboost_system.so.1.58.0, needed by /usr/local/mapd-deps/lib/libarrow.so, may conflict with libboost_system.so.1.67.0
/usr/bin/ld: warning: libboost_filesystem.so.1.58.0, needed by /usr/local/mapd-deps/lib/libarrow.so, may conflict with libboost_filesystem.so.1.67.0
/usr/bin/ld: warning: libboost_program_options.so.1.58.0, needed by /usr/local/mapd-deps/lib/libfolly.so, may conflict with libboost_program_options.so.1.67.0
/usr/bin/ld: warning: libboost_regex.so.1.58.0, needed by /usr/local/mapd-deps/lib/libfolly.so, may conflict with libboost_regex.so.1.67.0
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_session_id_context@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_verify@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_set_msg_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference tod2i_SSL_SESSION@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_use_certificate_chain_file@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_ciphers@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_get_pubkey@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_load_crypto_strings@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_get_ex_data@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_get_version@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_write@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to CRYPTO_get_id_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_int_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BN_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_error@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_use_PrivateKey_file@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_get_entry@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to EVP_PKEY_bits@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_print_ex@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_use_PrivateKey_file@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toERR_peek_error@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ASN1_STRING_length@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_set_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to EVP_MD_CTX_init@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_rbio@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OpenSSL_add_all_digests@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_alpn_protos@OPENSSL_1.0.2’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_number_written@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toX509_STORE_set_flags@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get1_session@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_new@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSLv23_method@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_get_subject_name@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_load_private_key@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_cipher_list@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_client_CA_list@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_ENTRY_get_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to sk_pop_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_id_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_vfree@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference toTIFFClose@LIBTIFF_4.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_servername@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_get_verify_mode@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_CTX_get_cert_store@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toSSL_check_private_key@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BN_clear_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_version@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_by_id@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_peek@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_get_signature_nid@OPENSSL_1.0.2' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_locking_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_clear_flags@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_set_SSL_CTX@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_sock_should_retry@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_write@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to EVP_MD_CTX_cleanup@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_number_read@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ERR_free_strings@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to ERR_remove_state@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_set_verify@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_set_fd@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_CIPHER_get_bits@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_alert_desc_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_load_client_CA_file@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toSSL_use_PrivateKey@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to sk_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_cert_store@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_SESSION_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_certificate@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OPENSSL_add_all_algorithms_noconf@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toENGINE_finish@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_next@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_get_ext_d2i@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to TLSv1_1_method@OPENSSL_1.0.1' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_dynlock_lock_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSLv23_server_method@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toHMAC_CTX_init@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_peer_certificate@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toASN1_TIME_print@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_num_locks@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_get_current_compression@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_set_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ERR_error_string_n@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_set_session@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_wbio@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_dynlock_destroy_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_malloc@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toSSL_use_certificate_file@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get0_next_proto_negotiated@OPENSSL_1.0.1’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ASN1_STRING_data@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toOPENSSL_config@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to X509_STORE_load_locations@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toX509_verify_cert_error_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_session@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_VERIFY_PARAM_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_next_proto_select_cb@OPENSSL_1.0.1’
//usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference to TIFFDefaultStripSize@LIBTIFF_4.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CIPHER_get_name@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to sk_num@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_shared_ciphers@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_get_issuer_name@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_alert_type_string@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference to TIFFFdOpen@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference toTIFFWriteScanline@LIBTIFF_4.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_cleanup_all_ex_data@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_STORE_CTX_get_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_read@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_s_mem@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to d2i_X509@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_func_error_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to RAND_poll@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_SESSION_get_id@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_ex_new_index@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_use_PrivateKey@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OpenSSL_add_all_ciphers@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_set_flags@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_callback_ctrl@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_cipher_list@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to i2d_SSL_SESSION@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toCRYPTO_get_locking_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_set_dynlock_create_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toEVP_PKEY_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to sk_value@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_VERIFY_PARAM_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to HMAC_CTX_cleanup@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toPEM_read_bio_PrivateKey@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toEC_KEY_new_by_curve_name@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_add_lock@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to i2d_X509@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_next_protos_advertised_cb@OPENSSL_1.0.1’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_get_shutdown@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get0_alpn_selected@OPENSSL_1.0.2’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ERR_put_error@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_get_error@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CIPHER_get_id@OPENSSL_1.0.1' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_alpn_select_cb@OPENSSL_1.0.2’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_s_socket@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toTLSv1_method@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_load_error_strings@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_current_cipher@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_STORE_CTX_get_chain@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_VERIFY_PARAM_set_flags@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toEVP_cleanup@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_load_verify_locations@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_accept@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_select_next_proto@OPENSSL_1.0.1' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_fd@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to ASN1_STRING_to_UTF8@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference toTIFFSetField@LIBTIFF_4.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to PEM_read_bio_X509@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_clear_error@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OBJ_sn2nid@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toTLSv1_2_method@OPENSSL_1.0.1’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_init@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_use_certificate@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_set_bio@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toGENERAL_NAME_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ERR_reason_error_string@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set1_param@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_connect@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_get_index_by_NID@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_default_passwd_cb@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_ex_data_X509_STORE_CTX_idx@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_print_ex@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_pending@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toOBJ_nid2ln@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_library_init@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_info_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_get_verify_result@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_shutdown@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to `EC_KEY_free@OPENSSL_1.0.0’
collect2: error: ld returned 1 exit status
CMakeFiles/mapd_server.dir/build.make:159: recipe for target ‘bin/mapd_server’ failed
make[2]: *** [bin/mapd_server] Error 1
CMakeFiles/Makefile2:86: recipe for target ‘CMakeFiles/mapd_server.dir/all’ failed
make[1]: *** [CMakeFiles/mapd_server.dir/all] Error 2
Makefile:160: recipe for target ‘all’ failed
make: *** [all] Error 2


#10

when i execute

mkdir build && cd build
cmake -DENABLE_ASAN=on -DENABLE_CUDA=off ..

makefile is generated
then i gave make command

then i got above logs with errors
can you help me as soon as possible
i am using ubuntu 16.04
i gave full logs for your reference


#11

I saw that you are having troubles with libfolly and openssl

I’m running ubuntu 16.04 and I have no problem compiling hte software

the version of openssl installed is this on

apt list openssl
Elencazione… Fatto
openssl/xenial-updates,xenial-security,now 1.0.2g-1ubuntu4.13 amd64 [installato]

the gcc is this one

apt list gcc
Elencazione… Fatto
gcc/xenial,now 4:5.3.1-1ubuntu1 amd64 [installato]


#12

i too using same version of openssl and gcc
i think these commands are used for build process

mkdir build && cd build
cmake -DENABLE_ASAN=on -DENABLE_CUDA=off ..
make -j 4

i have also verified that makefile is created
i have these error logs while giving last make command


#13

I will try with the same cmake options asap and report back


#14

@aznable
sure thanks a lot
i dont know whether these because of external packages

/usr/local/mapd-deps/lib/libfolly.so: undefined reference to EC_KEY_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_shutdown@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSLv23_server_method@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_get_verify_result@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to `CRYPTO_set_dynlock_lock_callback@OPENSSL_1.0.0’
collect2: error: ld returned 1 exit status
CMakeFiles/initdb.dir/build.make:158: recipe for target ‘bin/initdb’ failed
make[2]: *** [bin/initdb] Error 1
CMakeFiles/Makefile2:213: recipe for target ‘CMakeFiles/initdb.dir/all’ failed
make[1]: *** [CMakeFiles/initdb.dir/all] Error 2
Makefile:160: recipe for target ‘all’ failed
make: *** [all] Error 2


#15

for build process at last step should i give “make” or “make -j 4”
i gave just make
i was struck with these errors

[ 2%] Built target calciteserver_thrift
[ 4%] Built target mapd_thrift
– Configuring done
– Generating done
– Build files have been written to: /home/thickstat/Downloads/mapd-core/build
[ 4%] Built target rerun_cmake
[ 5%] Built target sqlite3
[ 7%] Built target bcrypt
[ 8%] Built target SqliteConnector
[ 9%] Built target Utils
[ 10%] Built target StringDictionary
[ 11%] Built target Fragmenter
[ 12%] Built target Calcite
[ 14%] Built target Catalog
[ 14%] Built target ScannerFiles
[ 14%] Built target ParserFiles
[ 14%] Built target Analyzer
[ 15%] Built target CudaMgr
[ 20%] Built target DataMgr
[ 22%] Built target Shared
[ 48%] Built target QueryEngine
[ 48%] Built target Planner
[ 51%] Built target Parser
[ 51%] Built target Chunk
[ 52%] Built target CsvImport
[ 53%] Built target QueryRunner
[ 54%] Built target token_completion_hints
Scanning dependencies of target thrift_handler
[ 54%] Building CXX object ThriftHandler/CMakeFiles/thrift_handler.dir/MapDHandler.cpp.o
[ 54%] Linking CXX static library libthrift_handler.a
[ 55%] Built target thrift_handler
Scanning dependencies of target mapd_server
[ 56%] Building CXX object CMakeFiles/mapd_server.dir/MapDServer.cpp.o
[ 56%] Linking CXX executable bin/mapd_server
/usr/bin/ld: warning: libboost_system.so.1.58.0, needed by /usr/local/mapd-deps/lib/libarrow.so, may conflict with libboost_system.so.1.67.0
/usr/bin/ld: warning: libboost_filesystem.so.1.58.0, needed by /usr/local/mapd-deps/lib/libarrow.so, may conflict with libboost_filesystem.so.1.67.0
/usr/bin/ld: warning: libboost_program_options.so.1.58.0, needed by /usr/local/mapd-deps/lib/libfolly.so, may conflict with libboost_program_options.so.1.67.0
/usr/bin/ld: warning: libboost_regex.so.1.58.0, needed by /usr/local/mapd-deps/lib/libfolly.so, may conflict with libboost_regex.so.1.67.0
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_session_id_context@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_verify@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_set_msg_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference tod2i_SSL_SESSION@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_use_certificate_chain_file@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_ciphers@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_get_pubkey@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_load_crypto_strings@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_get_ex_data@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_get_version@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_write@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to CRYPTO_get_id_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_int_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BN_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_error@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_use_PrivateKey_file@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_get_entry@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to EVP_PKEY_bits@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_print_ex@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_use_PrivateKey_file@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toERR_peek_error@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ASN1_STRING_length@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_set_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to EVP_MD_CTX_init@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_rbio@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OpenSSL_add_all_digests@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_alpn_protos@OPENSSL_1.0.2’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_number_written@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toX509_STORE_set_flags@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get1_session@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_new@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSLv23_method@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_get_subject_name@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_load_private_key@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_cipher_list@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_client_CA_list@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_ENTRY_get_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to sk_pop_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_id_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_vfree@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference toTIFFClose@LIBTIFF_4.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_servername@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_get_verify_mode@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_CTX_get_cert_store@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toSSL_check_private_key@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BN_clear_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_version@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_by_id@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_peek@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_get_signature_nid@OPENSSL_1.0.2' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_locking_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_clear_flags@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_set_SSL_CTX@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_sock_should_retry@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_write@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to EVP_MD_CTX_cleanup@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_number_read@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ERR_free_strings@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to ERR_remove_state@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_set_verify@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_set_fd@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_CIPHER_get_bits@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_alert_desc_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_load_client_CA_file@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toSSL_use_PrivateKey@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to sk_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_cert_store@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_SESSION_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_certificate@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OPENSSL_add_all_algorithms_noconf@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toENGINE_finish@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_next@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_get_ext_d2i@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to TLSv1_1_method@OPENSSL_1.0.1' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_dynlock_lock_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSLv23_server_method@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toHMAC_CTX_init@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_peer_certificate@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toASN1_TIME_print@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_num_locks@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_get_current_compression@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_set_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ERR_error_string_n@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_set_session@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_wbio@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_dynlock_destroy_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_malloc@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toSSL_use_certificate_file@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get0_next_proto_negotiated@OPENSSL_1.0.1’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ASN1_STRING_data@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toOPENSSL_config@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to X509_STORE_load_locations@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toX509_verify_cert_error_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_session@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_VERIFY_PARAM_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_next_proto_select_cb@OPENSSL_1.0.1’
//usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference to TIFFDefaultStripSize@LIBTIFF_4.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CIPHER_get_name@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to sk_num@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_shared_ciphers@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_get_issuer_name@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_alert_type_string@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference to TIFFFdOpen@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference toTIFFWriteScanline@LIBTIFF_4.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_cleanup_all_ex_data@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_STORE_CTX_get_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_read@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_s_mem@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to d2i_X509@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_func_error_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to RAND_poll@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_SESSION_get_id@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_ex_new_index@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_use_PrivateKey@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OpenSSL_add_all_ciphers@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_set_flags@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_callback_ctrl@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_cipher_list@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to i2d_SSL_SESSION@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toCRYPTO_get_locking_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_set_dynlock_create_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toEVP_PKEY_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to sk_value@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_VERIFY_PARAM_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to HMAC_CTX_cleanup@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toPEM_read_bio_PrivateKey@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toEC_KEY_new_by_curve_name@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_add_lock@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to i2d_X509@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_next_protos_advertised_cb@OPENSSL_1.0.1’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_get_shutdown@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get0_alpn_selected@OPENSSL_1.0.2’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ERR_put_error@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_get_error@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CIPHER_get_id@OPENSSL_1.0.1' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_alpn_select_cb@OPENSSL_1.0.2’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_s_socket@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toTLSv1_method@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_load_error_strings@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_current_cipher@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_STORE_CTX_get_chain@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_VERIFY_PARAM_set_flags@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toEVP_cleanup@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_load_verify_locations@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_accept@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_select_next_proto@OPENSSL_1.0.1' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_fd@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to ASN1_STRING_to_UTF8@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference toTIFFSetField@LIBTIFF_4.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to PEM_read_bio_X509@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_clear_error@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OBJ_sn2nid@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toTLSv1_2_method@OPENSSL_1.0.1’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_init@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_use_certificate@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_set_bio@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toGENERAL_NAME_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ERR_reason_error_string@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set1_param@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_connect@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_get_index_by_NID@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_default_passwd_cb@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_ex_data_X509_STORE_CTX_idx@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_print_ex@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_pending@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toOBJ_nid2ln@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_library_init@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_info_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_get_verify_result@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_shutdown@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to `EC_KEY_free@OPENSSL_1.0.0’
collect2: error: ld returned 1 exit status
CMakeFiles/mapd_server.dir/build.make:159: recipe for target ‘bin/mapd_server’ failed
make[2]: *** [bin/mapd_server] Error 1
CMakeFiles/Makefile2:86: recipe for target ‘CMakeFiles/mapd_server.dir/all’ failed
make[1]: *** [CMakeFiles/mapd_server.dir/all] Error 2
Makefile:160: recipe for target ‘all’ failed
make: *** [all] Error 2

i also tried with “make -j 4” command
that too brings this same error logs


#16

i found root cause of that error its because of libfolly
do we need libfolly for mapd setup?


#17

Yes libfolly is needed and built separately with a script; and you already did, because the cmake wouldn’t work without libfolly


#18

i have tried with many ways nothing has worked
i have these logs

Scanning dependencies of target mapd_server
[ 56%] Building CXX object CMakeFiles/mapd_server.dir/MapDServer.cpp.o
[ 56%] Linking CXX executable bin/mapd_server
/usr/bin/ld: warning: libboost_system.so.1.58.0, needed by /usr/local/mapd-deps/lib/libarrow.so, may conflict with libboost_system.so.1.67.0
/usr/bin/ld: warning: libboost_filesystem.so.1.58.0, needed by /usr/local/mapd-deps/lib/libarrow.so, may conflict with libboost_filesystem.so.1.67.0
/usr/bin/ld: warning: libboost_program_options.so.1.58.0, needed by /usr/local/mapd-deps/lib/libfolly.so, may conflict with libboost_program_options.so.1.67.0
/usr/bin/ld: warning: libboost_regex.so.1.58.0, needed by /usr/local/mapd-deps/lib/libfolly.so, may conflict with libboost_regex.so.1.67.0
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_session_id_context@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_verify@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_set_msg_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference tod2i_SSL_SESSION@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_use_certificate_chain_file@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_ciphers@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_get_pubkey@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_load_crypto_strings@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_get_ex_data@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_get_version@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_write@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to CRYPTO_get_id_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_int_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BN_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_error@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_use_PrivateKey_file@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_get_entry@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to EVP_PKEY_bits@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_print_ex@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_use_PrivateKey_file@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toERR_peek_error@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ASN1_STRING_length@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_set_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to EVP_MD_CTX_init@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_rbio@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OpenSSL_add_all_digests@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_alpn_protos@OPENSSL_1.0.2’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_number_written@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toX509_STORE_set_flags@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get1_session@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_new@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSLv23_method@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_get_subject_name@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_load_private_key@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_cipher_list@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_client_CA_list@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_ENTRY_get_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to sk_pop_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_id_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_vfree@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference toTIFFClose@LIBTIFF_4.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_servername@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_get_verify_mode@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_CTX_get_cert_store@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toSSL_check_private_key@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BN_clear_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_version@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_by_id@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_peek@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_get_signature_nid@OPENSSL_1.0.2' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_locking_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_clear_flags@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_set_SSL_CTX@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_sock_should_retry@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_write@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to EVP_MD_CTX_cleanup@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_number_read@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ERR_free_strings@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to ERR_remove_state@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_set_verify@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toSSL_set_fd@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_CIPHER_get_bits@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_alert_desc_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_load_client_CA_file@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toSSL_use_PrivateKey@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to sk_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_cert_store@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_SESSION_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_certificate@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OPENSSL_add_all_algorithms_noconf@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toENGINE_finish@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_next@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_get_ext_d2i@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to TLSv1_1_method@OPENSSL_1.0.1' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_dynlock_lock_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSLv23_server_method@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toHMAC_CTX_init@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_peer_certificate@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toASN1_TIME_print@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_default_passwd_cb_userdata@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_num_locks@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to SSL_get_current_compression@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_set_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ERR_error_string_n@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_set_session@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_wbio@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_set_dynlock_destroy_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_malloc@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toSSL_use_certificate_file@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_free@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get0_next_proto_negotiated@OPENSSL_1.0.1’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ASN1_STRING_data@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toOPENSSL_config@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to X509_STORE_load_locations@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toX509_verify_cert_error_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_session@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toCRYPTO_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_VERIFY_PARAM_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_next_proto_select_cb@OPENSSL_1.0.1’
//usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference to TIFFDefaultStripSize@LIBTIFF_4.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CIPHER_get_name@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to sk_num@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_shared_ciphers@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_get_issuer_name@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_alert_type_string@OPENSSL_1.0.0’
//usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference to TIFFFdOpen@LIBTIFF_4.0' //usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference toTIFFWriteScanline@LIBTIFF_4.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_cleanup_all_ex_data@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_STORE_CTX_get_ex_data@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_read@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_s_mem@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to d2i_X509@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_func_error_string@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to RAND_poll@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_SESSION_get_id@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_ex_new_index@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_use_PrivateKey@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OpenSSL_add_all_ciphers@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_set_flags@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_callback_ctrl@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_cipher_list@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to i2d_SSL_SESSION@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference toCRYPTO_get_locking_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_set_dynlock_create_callback@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toEVP_PKEY_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to sk_value@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_VERIFY_PARAM_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to HMAC_CTX_cleanup@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toPEM_read_bio_PrivateKey@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toEC_KEY_new_by_curve_name@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to CRYPTO_add_lock@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toBIO_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to i2d_X509@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_next_protos_advertised_cb@OPENSSL_1.0.1’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_get_shutdown@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get0_alpn_selected@OPENSSL_1.0.2’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ERR_put_error@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_get_error@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CIPHER_get_id@OPENSSL_1.0.1' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_alpn_select_cb@OPENSSL_1.0.2’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to BIO_s_socket@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toTLSv1_method@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_new@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_load_error_strings@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_current_cipher@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_STORE_CTX_get_chain@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to X509_VERIFY_PARAM_set_flags@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toEVP_cleanup@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_load_verify_locations@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_accept@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_select_next_proto@OPENSSL_1.0.1' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_get_fd@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to ASN1_STRING_to_UTF8@OPENSSL_1.0.0' //usr/lib/x86_64-linux-gnu/libpoppler.so.58: undefined reference toTIFFSetField@LIBTIFF_4.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to PEM_read_bio_X509@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toERR_clear_error@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to OBJ_sn2nid@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libthrift.so: undefined reference toTLSv1_2_method@OPENSSL_1.0.1’
//usr/lib/x86_64-linux-gnu/libpq.so.5: undefined reference to ENGINE_init@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_use_certificate@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_set_bio@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toGENERAL_NAME_free@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to ERR_reason_error_string@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set1_param@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_connect@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_get_index_by_NID@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_CTX_set_default_passwd_cb@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_ctrl@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_get_ex_data_X509_STORE_CTX_idx@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toX509_NAME_print_ex@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_pending@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toOBJ_nid2ln@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to SSL_library_init@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_CTX_set_info_callback@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libthrift.so: undefined reference to SSL_get_verify_result@OPENSSL_1.0.0' /usr/local/mapd-deps/lib/libfolly.so: undefined reference toSSL_shutdown@OPENSSL_1.0.0’
/usr/local/mapd-deps/lib/libfolly.so: undefined reference to `EC_KEY_free@OPENSSL_1.0.0’
collect2: error: ld returned 1 exit status
CMakeFiles/mapd_server.dir/build.make:159: recipe for target ‘bin/mapd_server’ failed
make[2]: *** [bin/mapd_server] Error 1
CMakeFiles/Makefile2:86: recipe for target ‘CMakeFiles/mapd_server.dir/all’ failed
make[1]: *** [CMakeFiles/mapd_server.dir/all] Error 2
Makefile:160: recipe for target ‘all’ failed
make: *** [all] Error 2

i dont know how to approach this error


#19

take a look to this /usr/bin/ld: warning: libboost_system.so.1.58.0, needed by /usr/local/mapd-deps/lib/libarrow.so, may conflict with libboost_system.so.1.67.0

libboost would be built with the scirpt mapd-deps-ubuntu1604.sh located into scripts directory.

With the latest version of mapd-core i had to upgrade to gcc 6 and related tools to be able to compile, but my problem was completly different from your


#20

sure so now i have to upgrade libboost to 1.67.0 right

Import/CMakeFiles/KafkaImporter.dir/build.make:108: recipe for target ‘bin/KafkaImporter’ failed
make[2]: *** [bin/KafkaImporter] Error 1
CMakeFiles/Makefile2:1354: recipe for target ‘Import/CMakeFiles/KafkaImporter.dir/all’ failed
make[1]: *** [Import/CMakeFiles/KafkaImporter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
– Configuring done
– Generating done
– Build files have been written to: /home/thickstat/Downloads/mapd-core/build
[ 58%] Built target rerun_cmake
[ 84%] Built target QueryEngine
Makefile:160: recipe for target ‘all’ failed
make: *** [all] Error 2

did you come across this error
do we need kafka