在cloudera hadoop vmware映像上安装vowpal wabbit

axzmvihb  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(334)

当我尝试使用此url在cloudera hadoop(vmware映像)上安装vowpal wabbit时,我经常遇到以下错误:

[root@quickstart vowpal_wabbit-7.10]# sudo make install

    Making install in vowpalwabbit
make[1]: Entering directory `/home/cloudera/vowpal_wabbit-7.10/vowpalwabbit'
/bin/sh ../libtool --tag=CXX   --mode=link g++ -I/usr/include -I/include  -Wall -Wno-unused-local-typedef  -O3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DNDEBUG     -pedantic  -std=gnu++11 -L/usr/lib64 -lboost_program_options-mt -L/lib -lz -lpthread  -o vw vw-main.o libvw.la liballreduce.la 
libtool: link: g++ -I/usr/include -I/include -Wall -Wno-unused-local-typedef -O3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -DNDEBUG -pedantic -std=gnu++11 -o .libs/vw vw-main.o  -L/usr/lib64 -L/lib ./.libs/libvw.so /home/cloudera/vowpal_wabbit-7.10/vowpalwabbit/.libs/liballreduce.so ./.libs/liballreduce.so -lboost_program_options-mt -lz -lpthread -Wl,-rpath -Wl,/usr/local/lib
./.libs/libvw.so: undefined reference to `boost::program_options::detail::cmdline::get_canonical_option_prefix()'
./.libs/libvw.so: undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::string const&, std::string const&, std::string const&, int)'
./.libs/libvw.so: undefined reference to `vtable for boost::program_options::error_with_option_name'
./.libs/libvw.so: undefined reference to `boost::program_options::error_with_option_name::what() const'
./.libs/libvw.so: undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const'
./.libs/libvw.so: undefined reference to `boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'
./.libs/libvw.so: undefined reference to `boost::program_options::validation_error::get_template(boost::program_options::validation_error::kind_t)'
./.libs/libvw.so: undefined reference to `typeinfo for boost::program_options::error_with_option_name'
./.libs/libvw.so: undefined reference to `boost::program_options::options_description::options_description(unsigned int, unsigned int)'
collect2: error: ld returned 1 exit status
make[1]:***[vw] Error 1
make[1]: Leaving directory `/home/cloudera/vowpal_wabbit-7.10/vowpalwabbit'
make:***[install-recursive] Error 1

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题