Hi, I have problems installing armatus on a centos7 with
$ g++ --version
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cat ../mambaforge/envs/tgif/include/boost/version.hpp | grep "BOOST_LIB_VERSION"
// BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
define BOOST_LIB_VERSION "1_82
here is the error:
$ g++ -std=c++11 -w -L /opt/common/tools/ric.tiget/mambaforge/envs/tgif/lib/ -I include/ -I /opt/common/tools/ric.tiget/mambaforge/envs/tgif/include/ -O3 -o binaries/armatus-linux-x64 src/.cpp -lboost_iostreams -lboost_program_options -lboost_system
/beegfs/scratch/tmp/ccVfHNJY.o: In function boost::program_options::typed_value<std::string, char>::xparse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&) const': Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueISscE6xparseERNS_3anyERKSt6vectorISsSaISsEE[_ZNK5boost15program_options11typed_valueISscE6xparseERNS_3anyERKSt6vectorISsSaISsEE]+0x19): undefined reference toboost::program_options::validate(boost::any&, std::vector<std::string, std::allocator > const&, std::string, int)'
/beegfs/scratch/tmp/ccVfHNJY.o: In function boost::program_options::typed_value<bool, char>::xparse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&) const': Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueIbcE6xparseERNS_3anyERKSt6vectorISsSaISsEE[_ZNK5boost15program_options11typed_valueIbcE6xparseERNS_3anyERKSt6vectorISsSaISsEE]+0x19): undefined reference toboost::program_options::validate(boost::any&, std::vector<std::string, std::allocator > const&, bool, int)'
/beegfs/scratch/tmp/ccVfHNJY.o: In function boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)': Armatus.cpp:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKSsS4_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKSsS4_i]+0x25): undefined reference toboost::program_options::validation_error::get_template(boost::program_options::validation_error::kind_t)'
Armatus.cpp:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKSsS4_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKSsS4_i]+0x3d): undefined reference to boost::program_options::error_with_option_name::error_with_option_name(std::string const&, std::string const&, std::string const&, int)' /beegfs/scratch/tmp/ccVfHNJY.o: In functionboost::program_options::basic_command_line_parser::basic_command_line_parser(int, char const const)':
Armatus.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x138): undefined reference to boost::program_options::to_internal(std::string const&)' Armatus.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x187): undefined reference toboost::program_options::detail::cmdline::cmdline(std::vector<std::string, std::allocator > const&)'
Armatus.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x299): undefined reference to boost::program_options::to_internal(std::string const&)' /beegfs/scratch/tmp/ccVfHNJY.o: In functionboost::program_options::basic_parsed_options boost::program_options::parse_command_line(int, char const const, boost::program_options::options_description const&, int, boost::function1<std::pair<std::string, std::string>, std::string const&>)':
Armatus.cpp:(.text._ZN5boost15program_options18parse_command_lineIcEENS0_20basic_parsed_optionsIT_EEiPKPKS3_RKNS0_19options_descriptionEiNS_9function1ISt4pairISsSsERKSsEE[_ZN5boost15program_options18parse_command_lineIcEENS0_20basic_parsed_optionsIT_EEiPKPKS3_RKNS0_19options_descriptionEiNS_9function1ISt4pairISsSsERKSsEE]+0xca): undefined reference to boost::program_options::detail::cmdline::set_additional_parser(boost::function1<std::pair<std::string, std::string>, std::string const&>)' /beegfs/scratch/tmp/ccVfHNJY.o: In functionboost::program_options::typed_value<int, char>::name() const':
Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueIicE4nameEv[_ZNK5boost15program_options11typed_valueIicE4nameEv]+0x19): undefined reference to boost::program_options::arg' /beegfs/scratch/tmp/ccVfHNJY.o: In functionboost::program_options::typed_value<unsigned long, char>::name() const':
Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueImcE4nameEv[_ZNK5boost15program_options11typed_valueImcE4nameEv]+0x19): undefined reference to boost::program_options::arg' /beegfs/scratch/tmp/ccVfHNJY.o: In functionboost::program_options::typed_value<std::string, char>::name() const':
Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueISscE4nameEv[_ZNK5boost15program_options11typed_valueISscE4nameEv]+0x19): undefined reference to boost::program_options::arg' /beegfs/scratch/tmp/ccVfHNJY.o: In functionboost::program_options::typed_value<double, char>::name() const':
Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueIdcE4nameEv[_ZNK5boost15program_options11typed_valueIdcE4nameEv]+0x19): undefined reference to boost::program_options::arg' /beegfs/scratch/tmp/ccVfHNJY.o: In functionboost::program_options::typed_value<bool, char>::name() const':
Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueIbcE4nameEv[_ZNK5boost15program_options11typed_valueIbcE4nameEv]+0x19): undefined reference to boost::program_options::arg' /beegfs/scratch/tmp/ccVfHNJY.o: In functionmain':
Armatus.cpp:(.text.startup+0x71): undefined reference to boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)' /beegfs/scratch/tmp/ccVfHNJY.o: In functionvoid boost::program_options::validate<int, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, int, long)':
Armatus.cpp:(.text._ZN5boost15program_options8validateIicEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l[_ZN5boost15program_options8validateIicEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l]+0x565): undefined reference to boost::program_options::invalid_option_value::invalid_option_value(std::string const&)' /beegfs/scratch/tmp/ccVfHNJY.o: In functionvoid boost::program_options::validate<unsigned long, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, unsigned long, long)':
Armatus.cpp:(.text._ZN5boost15program_options8validateImcEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l[_ZN5boost15program_options8validateImcEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l]+0x54d): undefined reference to boost::program_options::invalid_option_value::invalid_option_value(std::string const&)' /beegfs/scratch/tmp/ccVfHNJY.o: In functionvoid boost::program_options::validate<double, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, double, long)':
Armatus.cpp:(.text._ZN5boost15program_options8validateIdcEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l[_ZN5boost15program_options8validateIdcEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l]+0x3e9): undefined reference to boost::program_options::invalid_option_value::invalid_option_value(std::string const&)' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost10wrapexceptINS_15program_options20invalid_option_valueEEE[_ZTVN5boost10wrapexceptINS_15program_options20invalid_option_valueEEE]+0x60): undefined reference toboost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const'
/beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost10wrapexceptINS_15program_options16validation_errorEEE[_ZTVN5boost10wrapexceptINS_15program_options16validation_errorEEE]+0x60): undefined reference to boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x30): undefined reference toboost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const'
/beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x30): undefined reference to boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options11typed_valueIbcEE[_ZTVN5boost15program_options11typed_valueIbcEE]+0x38): undefined reference toboost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocator > const&, bool) const'
/beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options11typed_valueIdcEE[_ZTVN5boost15program_options11typed_valueIdcEE]+0x38): undefined reference to boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options11typed_valueISscEE[_ZTVN5boost15program_options11typed_valueISscEE]+0x38): undefined reference toboost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocator > const&, bool) const'
/beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options11typed_valueImcEE[_ZTVN5boost15program_options11typed_valueImcEE]+0x38): undefined reference to boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options11typed_valueIicEE[_ZTVN5boost15program_options11typed_valueIicEE]+0x38): undefined reference toboost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocator > const&, bool) const'
collect2: error: ld returned 1 exit status
For me it would be ok to have a binary version that can work of this system...
Thanks,
Ivan
Hi, I have problems installing armatus on a centos7 with
$ g++ --version g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cat ../mambaforge/envs/tgif/include/boost/version.hpp | grep "BOOST_LIB_VERSION"
// BOOST_LIB_VERSION must be defined to be the same as BOOST_VERSION
define BOOST_LIB_VERSION "1_82
here is the error:
$ g++ -std=c++11 -w -L /opt/common/tools/ric.tiget/mambaforge/envs/tgif/lib/ -I include/ -I /opt/common/tools/ric.tiget/mambaforge/envs/tgif/include/ -O3 -o binaries/armatus-linux-x64 src/.cpp -lboost_iostreams -lboost_program_options -lboost_system > const&, std::string , int)'
/beegfs/scratch/tmp/ccVfHNJY.o: In function > const&, bool, int)'
/beegfs/scratch/tmp/ccVfHNJY.o: In function ::basic_command_line_parser(int, char const const)':
Armatus.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x138): undefined reference to > const&)'
Armatus.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x299): undefined reference to boost::program_options::parse_command_line(int, char const const, boost::program_options::options_description const&, int, boost::function1<std::pair<std::string, std::string>, std::string const&>)':
Armatus.cpp:(.text._ZN5boost15program_options18parse_command_lineIcEENS0_20basic_parsed_optionsIT_EEiPKPKS3_RKNS0_19options_descriptionEiNS_9function1ISt4pairISsSsERKSsEE[_ZN5boost15program_options18parse_command_lineIcEENS0_20basic_parsed_optionsIT_EEiPKPKS3_RKNS0_19options_descriptionEiNS_9function1ISt4pairISsSsERKSsEE]+0xca): undefined reference to , std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, int , long)':
Armatus.cpp:(.text._ZN5boost15program_options8validateIicEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l[_ZN5boost15program_options8validateIicEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l]+0x565): undefined reference to , std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, unsigned long, long)':
Armatus.cpp:(.text._ZN5boost15program_options8validateImcEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l[_ZN5boost15program_options8validateImcEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l]+0x54d): undefined reference to , std::allocator >, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, double , long)':
Armatus.cpp:(.text._ZN5boost15program_options8validateIdcEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l[_ZN5boost15program_options8validateIdcEEvRNS_3anyERKSt6vectorISbIT0_St11char_traitsIS5_ESaIS5_EESaIS9_EEPT_l]+0x3e9): undefined reference to ::parse(boost::any&, std::vector<std::string, std::allocator > const&, bool) const'
/beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options11typed_valueIdcEE[_ZTVN5boost15program_options11typed_valueIdcEE]+0x38): undefined reference to ::parse(boost::any&, std::vector<std::string, std::allocator > const&, bool) const'
/beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options11typed_valueImcEE[_ZTVN5boost15program_options11typed_valueImcEE]+0x38): undefined reference to ::parse(boost::any&, std::vector<std::string, std::allocator > const&, bool) const'
collect2: error: ld returned 1 exit status
/beegfs/scratch/tmp/ccVfHNJY.o: In function
boost::program_options::typed_value<std::string, char>::xparse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&) const': Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueISscE6xparseERNS_3anyERKSt6vectorISsSaISsEE[_ZNK5boost15program_options11typed_valueISscE6xparseERNS_3anyERKSt6vectorISsSaISsEE]+0x19): undefined reference to
boost::program_options::validate(boost::any&, std::vector<std::string, std::allocatorboost::program_options::typed_value<bool, char>::xparse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&) const': Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueIbcE6xparseERNS_3anyERKSt6vectorISsSaISsEE[_ZNK5boost15program_options11typed_valueIbcE6xparseERNS_3anyERKSt6vectorISsSaISsEE]+0x19): undefined reference to
boost::program_options::validate(boost::any&, std::vector<std::string, std::allocatorboost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)': Armatus.cpp:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKSsS4_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKSsS4_i]+0x25): undefined reference to
boost::program_options::validation_error::get_template(boost::program_options::validation_error::kind_t)' Armatus.cpp:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKSsS4_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKSsS4_i]+0x3d): undefined reference toboost::program_options::error_with_option_name::error_with_option_name(std::string const&, std::string const&, std::string const&, int)' /beegfs/scratch/tmp/ccVfHNJY.o: In function
boost::program_options::basic_command_line_parserboost::program_options::to_internal(std::string const&)' Armatus.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x187): undefined reference to
boost::program_options::detail::cmdline::cmdline(std::vector<std::string, std::allocatorboost::program_options::to_internal(std::string const&)' /beegfs/scratch/tmp/ccVfHNJY.o: In function
boost::program_options::basic_parsed_optionsboost::program_options::detail::cmdline::set_additional_parser(boost::function1<std::pair<std::string, std::string>, std::string const&>)' /beegfs/scratch/tmp/ccVfHNJY.o: In function
boost::program_options::typed_value<int, char>::name() const': Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueIicE4nameEv[_ZNK5boost15program_options11typed_valueIicE4nameEv]+0x19): undefined reference toboost::program_options::arg' /beegfs/scratch/tmp/ccVfHNJY.o: In function
boost::program_options::typed_value<unsigned long, char>::name() const': Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueImcE4nameEv[_ZNK5boost15program_options11typed_valueImcE4nameEv]+0x19): undefined reference toboost::program_options::arg' /beegfs/scratch/tmp/ccVfHNJY.o: In function
boost::program_options::typed_value<std::string, char>::name() const': Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueISscE4nameEv[_ZNK5boost15program_options11typed_valueISscE4nameEv]+0x19): undefined reference toboost::program_options::arg' /beegfs/scratch/tmp/ccVfHNJY.o: In function
boost::program_options::typed_value<double, char>::name() const': Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueIdcE4nameEv[_ZNK5boost15program_options11typed_valueIdcE4nameEv]+0x19): undefined reference toboost::program_options::arg' /beegfs/scratch/tmp/ccVfHNJY.o: In function
boost::program_options::typed_value<bool, char>::name() const': Armatus.cpp:(.text._ZNK5boost15program_options11typed_valueIbcE4nameEv[_ZNK5boost15program_options11typed_valueIbcE4nameEv]+0x19): undefined reference toboost::program_options::arg' /beegfs/scratch/tmp/ccVfHNJY.o: In function
main': Armatus.cpp:(.text.startup+0x71): undefined reference toboost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)' /beegfs/scratch/tmp/ccVfHNJY.o: In function
void boost::program_options::validate<int, char>(boost::any&, std::vector<std::basic_string<char, std::char_traitsboost::program_options::invalid_option_value::invalid_option_value(std::string const&)' /beegfs/scratch/tmp/ccVfHNJY.o: In function
void boost::program_options::validate<unsigned long, char>(boost::any&, std::vector<std::basic_string<char, std::char_traitsboost::program_options::invalid_option_value::invalid_option_value(std::string const&)' /beegfs/scratch/tmp/ccVfHNJY.o: In function
void boost::program_options::validate<double, char>(boost::any&, std::vector<std::basic_string<char, std::char_traitsboost::program_options::invalid_option_value::invalid_option_value(std::string const&)' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost10wrapexceptINS_15program_options20invalid_option_valueEEE[_ZTVN5boost10wrapexceptINS_15program_options20invalid_option_valueEEE]+0x60): undefined reference to
boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost10wrapexceptINS_15program_options16validation_errorEEE[_ZTVN5boost10wrapexceptINS_15program_options16validation_errorEEE]+0x60): undefined reference toboost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x30): undefined reference to
boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x30): undefined reference toboost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options11typed_valueIbcEE[_ZTVN5boost15program_options11typed_valueIbcEE]+0x38): undefined reference to
boost::program_options::value_semantic_codecvt_helperboost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options11typed_valueISscEE[_ZTVN5boost15program_options11typed_valueISscEE]+0x38): undefined reference to
boost::program_options::value_semantic_codecvt_helperboost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const' /beegfs/scratch/tmp/ccVfHNJY.o:(.rodata._ZTVN5boost15program_options11typed_valueIicEE[_ZTVN5boost15program_options11typed_valueIicEE]+0x38): undefined reference to
boost::program_options::value_semantic_codecvt_helperFor me it would be ok to have a binary version that can work of this system... Thanks, Ivan