Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error with gcc 7.4 in ubuntu 18.04 #29

Closed
silveric10 opened this issue May 28, 2019 · 1 comment
Closed

make error with gcc 7.4 in ubuntu 18.04 #29

silveric10 opened this issue May 28, 2019 · 1 comment

Comments

@silveric10
Copy link

Hi all, I got those errors:
[ 23%] Building CXX object CMakeFiles/FizzTool.dir/tool/FizzServerCommand.cpp.o
[ 24%] Linking CXX executable bin/fizz
/usr/bin/ld: warning: libboost_context.so.1.58.0, needed by /usr/local/lib/libfolly.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_filesystem.so.1.58.0, needed by /usr/local/lib/libfolly.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_program_options.so.1.58.0, needed by /usr/local/lib/libfolly.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_regex.so.1.58.0, needed by /usr/local/lib/libfolly.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_system.so.1.58.0, needed by /usr/local/lib/libfolly.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libevent-2.0.so.5, needed by /usr/local/lib/libfolly.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libssl.so.1.0.0, needed by /usr/local/lib/libfolly.so, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libcrypto.so.1.0.0, needed by /usr/local/lib/libfolly.so, may conflict with libcrypto.so.1.1
/usr/local/lib/libfolly.so: undefined reference to boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::find()' /usr/local/lib/libfolly.so: undefined reference to boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits > >::match()'
/usr/local/lib/libfolly.so: undefined reference to boost::re_detail::perl_matcher<char const*, std::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)' /usr/local/lib/libfolly.so: undefined reference to boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >, boost::regex_traits<char, boost::cpp_regex_traits > >::find()'
/usr/local/lib/libfolly.so: undefined reference to boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)' /usr/local/lib/libfolly.so: undefined reference to boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >, boost::regex_traits<char, boost::cpp_regex_traits > >::match()'
collect2: error: ld returned 1 exit status
CMakeFiles/FizzTool.dir/build.make:198: recipe for target 'bin/fizz' failed
make[2]: *** [bin/fizz] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/FizzTool.dir/all' failed
make[1]: *** [CMakeFiles/FizzTool.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

Can you help? Thank you.

@silveric10
Copy link
Author

OK, that is because I did not install folly correctly last time. Anyone has the same issue can try to reinstall folly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant