Issue with Boost 1.75.0

442 views
Skip to first unread message

Edward Read

unread,
Mar 1, 2021, 12:30:58 PM3/1/21
to deal.II User Group
 
Hello Everyone,

I am working on installing Deal.II on my linux box and am now receiving the following:

[ 79%] Built target deal_II.g
Scanning dependencies of target step-74.debug
[ 79%] Building CXX object examples/CMakeFiles/step-74.debug.dir/step-74/step-74.cc.o
[ 79%] Building CXX object source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/mapping_info_inst3.cc.o
[ 79%] Building CXX object source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/matrix_free.cc.o
[ 79%] Linking CXX executable ../bin/step-74.debug
[ 79%] Building CXX object source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/shape_info.cc.o
[ 79%] Building CXX object source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/task_info.cc.o
[ 79%] Building CXX object source/matrix_free/CMakeFiles/obj_matrix_free_release.dir/vector_data_exchange.cc.o
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::zlib_base::zlib_base()'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::gzip_header::process(char)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib_error::check(int)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib::best_speed'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib::default_compression'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::zlib_base::reset(bool, bool)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::zlib_base::xdeflate(int)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib::sync_flush'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib::okay'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib::finish'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib::no_flush'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib::stream_end'
../lib/libdeal_II.g.so.9.3.0-pre: 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*)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib::best_compression'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::zlib_base::~zlib_base()'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::zlib_base::before(char const*&, char const*, char*&, char*)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::zlib_base::after(char const*&, char*&, bool)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::gzip_footer::reset()'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::zlib_base::xinflate(int)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib::default_strategy'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::gzip_header::reset()'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::detail::gzip_footer::process(char)'
../lib/libdeal_II.g.so.9.3.0-pre: undefined reference to `boost::iostreams::zlib::deflated'
collect2: error: ld returned 1 exit status
examples/CMakeFiles/step-74.debug.dir/build.make:240: recipe for target 'bin/step-74.debug' failed
make[2]: *** [bin/step-74.debug] Error 1
CMakeFiles/Makefile2:3855: recipe for target 'examples/CMakeFiles/step-74.debug.dir/all' failed
make[1]: *** [examples/CMakeFiles/step-74.debug.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 79%] Built target obj_matrix_free_release
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Any suggestions or solutions would be greatly appreciated .

Bruno Turcksin

unread,
Mar 1, 2021, 5:43:03 PM3/1/21
to deal.II User Group

Hi,

Can you post the detailed.log file. It should be in you build directory.

Best,

Bruno

Ed Read

unread,
Mar 1, 2021, 5:47:14 PM3/1/21
to dea...@googlegroups.com
I have attached it.

Thank you for your help

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/67f557b0-4bc6-4014-ab5c-ba5ef2485d10n%40googlegroups.com.
detailed.log

Bruno Turcksin

unread,
Mar 1, 2021, 5:57:20 PM3/1/21
to dea...@googlegroups.com
Did you install boost yourself or did you use the package manager? It
looks like boost was compiled without support of zlib but zlib was
found by deal.II I wonder if that's the problem. Can you reconfigure
deal.II in a clean directory and use -DDEAL_II_WITH_ZLIB=OFF

Bruno
> You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/Vbe6Flm07aQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CADmQQAZpmtsnH73ds-9tt_sfZ6xWdvVPm7pcttBVJU1MDsa_NQ%40mail.gmail.com.

Ed Read

unread,
Mar 1, 2021, 6:05:34 PM3/1/21
to dea...@googlegroups.com
I installed it with a package manager. I will reconfigure it with the option that you provided.

Thanks,

Ed

Reply all
Reply to author
Forward
0 new messages