Article 5QW2K Compiling openbabel 3.1.1

Compiling openbabel 3.1.1

by
M0M0
from LinuxQuestions.org on (#5QW2K)
I know that a working slackbuild script for openbabel 2.4.1 exists on sbo. However, 2.4.1 does not have all features I need, so I tried to compile 3.1.1 however I get

Code:[ 79%] Linking CXX executable ../bin/obrms
cd /tmp/SBo/openbabel-3.1.1/build/tools && /usr/bin/cmake -E cmake_link_script CMakeFiles/obrms.dir/link.txt --verbose=1
/usr/bin/c++ -O2 -fPIC -fpermissive -pthread -O3 -DNDEBUG -O3 -DNDEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -rdynamic CMakeFiles/obrms.dir/obrms.cpp.o -o ../bin/obrms -Wl,-rpath,/tmp/SBo/openbabel-3.1.1/build/lib64:/usr/local/lib: ../lib64/libopenbabel.so.7.0.0 /usr/local/lib/libmaeparser.so ../lib64/libcoordgen.so.1.4.0 -lm -ldl -lz -pthread
/usr/bin/ld: warning: libboost_iostreams.so.1.76.0, needed by /usr/local/lib/libmaeparser.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib::deflated'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::zlib_base::before(char const*&, char const*, char*&, char*)'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib_error::check(int)'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib::okay'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::zlib_base::xdeflate(int)'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::zlib_base::reset(bool, bool)'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib::stream_end'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib::no_flush'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib::best_speed'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::zlib_base::xinflate(int)'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: 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*)'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::zlib_base::zlib_base()'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::gzip_footer::process(char)'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib::best_compression'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::zlib_base::~zlib_base()'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::gzip_header::process(char)'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::gzip_header::reset()'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib::default_strategy'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib::sync_flush'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::detail::zlib_base::after(char const*&, char*&, bool)'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib::finish'
/usr/bin/ld: /usr/local/lib/libmaeparser.so: undefined reference to `boost::iostreams::zlib::default_compression'
collect2: error: ld returned 1 exit status
make[2]: *** [tools/CMakeFiles/obrms.dir/build.make:102: bin/obrms] Error 1
make[2]: Leaving directory '/tmp/SBo/openbabel-3.1.1/build'
make[1]: *** [CMakeFiles/Makefile2:4981: tools/CMakeFiles/obrms.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/openbabel-3.1.1/build'
make: *** [Makefile:146: all] Error 2Can someone help me to fix that?latest?d=yIl2AUoC8zA latest?i=d5ERoZ-rpGM:rWosAGkk-4U:F7zBnMy latest?i=d5ERoZ-rpGM:rWosAGkk-4U:V_sGLiP latest?d=qj6IDK7rITs latest?i=d5ERoZ-rpGM:rWosAGkk-4U:gIN9vFwd5ERoZ-rpGM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments