I cloned Lucene++ from the following repository https://github.com/luceneplusplus/LucenePlusPlus, executed cmake then make and got the following error[ 66%] Linking CXX executable indexfiles../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::finish'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::mem_error'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::no_flush'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::detail::zlib_base::xdeflate(int)'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::detail::zlib_base::before(char const*&, char  const*, char*&, char*)' ../core/liblucene++.so.3.0.7: undefined reference to  `boost::iostreams::zlib_error::check(int)' ../core/liblucene++.so.3.0.7: undefined reference to  `boost::iostreams::zlib::default_compression' ../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::detail::zlib_base::do_init(boost::iostreams::zlib_params const&, bool, void* (*)(void*, unsigned int, unsigned int), void (*)(void*, void*), void*)'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::stream_end'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::detail::zlib_base::zlib_base()'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::detail::zlib_base::~zlib_base()'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::detail::zlib_base::after(char const*&, char*&, bool)'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::default_strategy'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::okay'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::data_error'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::buf_error'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::stream_error'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::detail::zlib_base::reset(bool, bool)'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::sync_flush'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::version_error'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::detail::zlib_base::xinflate(int)'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::best_compression'../core/liblucene++.so.3.0.7: undefined reference to `boost::iostreams::zlib::deflated'collect2: error: ld returned 1 exit statussrc/demo/CMakeFiles/indexfiles.dir/build.make:108: recipe for target 'src/demo/indexfiles' failedmake[2]: *** [src/demo/indexfiles] Error 1CMakeFiles/Makefile2:466: recipe for target 'src/demo/CMakeFiles/indexfiles.dir/all' failedmake[1]: *** [src/demo/CMakeFiles/indexfiles.dir/all] Error 2Makefile:138: recipe for target 'all' failedmake: *** [all] Error 2I think the problem is with boost library, but I really have no idea what it is exactly. My system is Lubuntu 16.04.
Getting error while installing Lucene++
make;lubuntu