Your problem is it cannot find your Boost libs. Why exactly are you trying to build with a custom lib directory? On Sat, Sep 5, 2015 at 11:24 PM, LinuXperia via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > Hi. > > I am trying to compile bitcoin core on my ubuntu Linux machine as follow: > > ./autogen.sh > > ./configure > CPPFLAGS="-I/media/linuxperia/mydata/Projects/bitcoi/depends/x86_64-unknown-linux-gnu/include/ > -O2" > LDFLAGS="-L/media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/lib/" > --without-gui > > make > > but i am getting always this Build Error message here! > What i am doing wrong ? > How can i fix this build problem so i am able to run the Bitcoin-core Node > on my Machine ? > > Thanks in advance for your helpful solution tips! > > CXXLD bitcoind > libbitcoin_server.a(libbitcoin_server_a-init.o): In function > `boost::filesystem::path::path(boost::filesystem::directory_entry > const&, > boost::enable_if::type>, > void>::type*)': > /media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/include/boost/filesystem/path.hpp:140: > undefined reference to > `boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry > const&, std::__cxx11::basic_string, > std::allocator >&)' > libbitcoin_util.a(libbitcoin_util_a-util.o): In function `GetNumCores()': > /media/linuxperia/mydata/Projects/bitcoin/src/util.cpp:825: undefined > reference to `boost::thread::physical_concurrency()' > libbitcoin_util.a(libbitcoin_util_a-util.o): In function > `boost::program_options::detail::basic_config_file_iterator::getline(std::__cxx11::basic_string std::char_traits, std::allocator >&)': > /media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/include/boost/program_options/detail/config_file.hpp:161: > undefined reference to > `boost::program_options::to_internal(std::__cxx11::basic_string std::char_traits, std::allocator > const&)' > libbitcoin_util.a(libbitcoin_util_a-util.o): In function > `boost::program_options::detail::basic_config_file_iterator::basic_config_file_iterator(std::istream&, > std::set, > std::allocator >, std::less std::char_traits, std::allocator > >, > std::allocator, > std::allocator > > > const&, bool)': > /media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/include/boost/program_options/detail/config_file.hpp:145: > undefined reference to > `boost::program_options::detail::common_config_file_iterator::common_config_file_iterator(std::set std::char_traits, std::allocator >, > std::less, > std::allocator > >, std::allocator std::char_traits, std::allocator > > > const&, bool)' > libbitcoin_wallet.a(libbitcoin_wallet_a-walletdb.o): In function > `boost::filesystem::copy_file(boost::filesystem::path const&, > boost::filesystem::path const&, boost::filesystem::copy_option::enum_type)': > /media/linuxperia/mydata/Projects/bitcoin/depends/x86_64-unknown-linux-gnu/include/boost/filesystem/operations.hpp:497: > undefined reference to > `boost::filesystem::detail::copy_file(boost::filesystem::path const&, > boost::filesystem::path const&, boost::filesystem::detail::copy_option, > boost::system::error_code*)' > collect2: error: ld returned 1 exit status > Makefile:2620: recipe for target 'bitcoind' failed > make[2]: *** [bitcoind] Error 1 > make[2]: Leaving directory '/media/linuxperia/mydata/Projects/bitcoin/src' > Makefile:6559: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory '/media/linuxperia/mydata/Projects/bitcoin/src' > Makefile:626: recipe for target 'all-recursive' failed > make: *** [all-recursive] Error 1 > > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev >