[Rdkit-devel] 2019_03_1b1: lots of undefined references to libboost_iostreams functions
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
From: <bal...@un...> - 2019-04-06 13:53:28
|
hello, there seems to be a glitch in the 2019_03_1b1 build process, where a lot of link steps fail for me with undefined references to libboost_iostreams functions. Eg: ----8<---- /usr/bin/ld: lib/libRDKitmaeparser.so.1.2019.03.1b1: undefined reference to `boost::iostreams::zlib::deflated' /usr/bin/ld: lib/libRDKitmaeparser.so.1.2019.03.1b1: undefined reference to `boost::iostreams::detail::zlib_base::before(char const*&, char const*, char*&, char*)' [...] /usr/bin/ld: lib/libRDKitmaeparser.so.1.2019.03.1b1: undefined reference to `boost::iostreams::zlib::default_compression' collect2: error: ld returned 1 exit status ---->8---- I can make my build complete successfully only with: export LDFLAGS="-lboost_iostreams" Is this to be expected or is there a problem with the build process? (all previous releases didn't need that) I can add that ./External/CoordGen/CMakeLists.txt ./Code/GraphMol/FileParsers/CMakeLists.txt and ./Code/RDStreams/CMakeLists.txt do actually contain a: set (link_iostreams ${Boost_LIBRARIES}) definition, but apparently link_iostreams is eventually empty (but I might not have followed correctly the logic of the cmake files) Building on linux vs boost-1_70_0_rc1 thanks a lot ciao gabriele |