Hi Gabriele,

I believe the problem here is that you built boost without zlib support. In the b2 boost build step, check that zlib is set to "yes" (it will be if the zlib devel package was installed on your machine), otherwise things won't work, as boost_iostreams will be built without zlib support.

Cheers,
p.

On 06/04/2019 14:52, baldu...@units.it wrote:
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


_______________________________________________
Rdkit-devel mailing list
Rdkit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-devel


_______________________________________________
Rdkit-devel mailing list
Rdkit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-devel

Reply via email to