Hi I've encountered this error while building Sage from sources obtained from git -clone. I'm running Manjaro Linux 4.3.3-3-ARCH. Any ideas?
/lib/../lib64/libqd.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::push_back(char)@GLIBCXX_3.4.21'
/lib/../lib64/libqd.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
/lib/../lib64/libqd.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)@GLIBCXX_3.4.21'
/lib/../lib64/libqd.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)@GLIBCXX_3.4.21'
/lib/../lib64/libqd.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
/lib/../lib64/libqd.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
collect2: error: ld returned 1 exit status
Makefile:599: recipe for target 'fplll' failed
make[6]: *** [fplll] Error 1
make[6]: Leaving directory '/home/cozzy/dev/sage/local/var/tmp/sage/build/libfplll-20160107/src/src'
Makefile:450: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/home/cozzy/dev/sage/local/var/tmp/sage/build/libfplll-20160107/src/src'
Makefile:392: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/cozzy/dev/sage/local/var/tmp/sage/build/libfplll-20160107/src'
Makefile:323: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/cozzy/dev/sage/local/var/tmp/sage/build/libfplll-20160107/src'
Error building libfplll
real 0m37.989s
user 0m30.720s
sys 0m1.973s
************************************************************************
Error installing package libfplll-20160107