Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
04-10-2012, 07:33 AM
#1
LQ Newbie
Registered: Aug 2011
Posts: 10
Rep:
libm.so.6 and libstdc++.so.6 not found but they exist
Hello everyone,
I am facing a strange problem, trying to build buildroot on Arch: warnings about libm.so.6 and libstdc++.so.6 not being found.
Actually here is the whole error:
Code:
/usr/bin/gcc -O2 -I/home/sakishrist/Desktop/buildroot-2012.02/output/host/include -I/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -L/home/sakishrist/Desktop/buildroot-2012.02/output/host/lib -L/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/lib -Wl,-rpath,/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/lib -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o i386-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o \
dummy-checksum.o main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lppl_c -lppl -lgmpxx -L/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/lib -L/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/lib -L/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/lib -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../x86_64-unknown-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../x86_64-unknown-linux-gnu/bin/ld: warning: libm.so.6, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::invalid_argument@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::basic_streambuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::length_error::length_error(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::istream@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_allocate_exception@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::istream& std::istream::_M_extract<unsigned long>(unsigned long&)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::ostream::put(char)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::assign(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::_Rep::_M_destroy(std::allocator<char> const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::string::compare(unsigned long, unsigned long, char const*) const@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::ostream& std::ostream::_M_insert<bool>(bool)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_throw@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::locale::locale()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_guard_release@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `fetestexcept@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::logic_error@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::~basic_ios()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::runtime_error::runtime_error(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::runtime_error::~runtime_error()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::length_error::~length_error()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::istream::putback(char)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::string::_M_mutate(unsigned long, unsigned long, unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `operator new(unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::locale::~locale()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_guard_acquire@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__throw_logic_error(char const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::istream& std::istream::_M_extract<unsigned short>(unsigned short&)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for int@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_end_catch@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_rethrow@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ios_base::ios_base()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::basic_streambuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::_Rep::_S_empty_rep_storage@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::string::reserve(unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::invalid_argument::~invalid_argument()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::basic_ios<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::length_error@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `feclearexcept@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::ostream::flush()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `VTT for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::cout@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::domain_error::~domain_error()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `rint@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `__cxa_call_unexpected@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__throw_bad_cast()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >::~basic_istream()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::logic_error::~logic_error()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ios_base::Init::Init()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `sqrt@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::domain_error::domain_error(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__gxx_personality_v0@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::istream::get(char&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::setbuf(char*, long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::istream& std::istream::_M_extract<unsigned int>(unsigned int&)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ios_base::Init::~Init()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `fegetround@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_free_exception@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::overflow_error::~overflow_error()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::bad_alloc@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__throw_out_of_range(char const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::logic_error::logic_error(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::ostream::write(char const*, long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_guard_abort@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::showmanyc()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::overflow_error::overflow_error(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::exception@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::istream::unget()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::numpunct<char> const& std::use_facet<std::numpunct<char> >(std::locale const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::runtime_error@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `fesetround@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::seekoff(long, std::_Ios_Seekdir, std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::imbue(std::locale const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `__dynamic_cast@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::string::append(char const*, unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::istream::operator>>(int&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::compare(char const*) const@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::ostream@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__throw_length_error(char const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::_M_leak_hard()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::ostream::operator<<(int)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_begin_catch@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ios_base::~ios_base()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ostream& std::ostream::_M_insert<double>(double)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `operator new[](unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::string::assign(char const*, unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__throw_bad_alloc()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::cerr@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::invalid_argument::invalid_argument(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::operator>><char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::locale::locale(std::locale const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::string::append(unsigned long, char)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::ctype<char> const& std::use_facet<std::ctype<char> >(std::locale const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::overflow_error@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::domain_error@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::terminate()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `fmod@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)@GLIBCXX_3.4'
collect2: error: ld returned 1 exit status
make[2]: *** [cc1-dummy] Error 1
make[2]: Leaving directory `/home/sakishrist/Desktop/buildroot-2012.02/output/toolchain/gcc-4.5.3-initial/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/sakishrist/Desktop/buildroot-2012.02/output/toolchain/gcc-4.5.3-initial'
make: *** [/home/sakishrist/Desktop/buildroot-2012.02/output/toolchain/gcc-4.5.3-initial/.compiled] Error 2
Am I right to believe the warnings are the cause of these errors? If so, could you give any hints as to why this would be happening.
I tried the build process on a chrooted debian and it actually got through that stage without any problems.
Thanks in advance!
04-11-2012, 01:59 AM
#2
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830
yes, it looks like you do not have
libstdc++.so.6 and
libm.so.6
You may need to look around in /usr/lib, how was libstdc++.so installed.
maybe this will help you:
http://dev.modmancer.com/index.php/2...-ubuntu-10-10/
04-11-2012, 05:48 AM
#3
Member
Registered: Sep 2009
Posts: 684
Rep:
Quote:
Originally Posted by
sakishrist
Hello everyone,
I am facing a strange problem, trying to build buildroot on Arch: warnings about libm.so.6 and libstdc++.so.6 not being found.
Actually here is the whole error:
Code:
/usr/bin/gcc -O2 -I/home/sakishrist/Desktop/buildroot-2012.02/output/host/include -I/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/include -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -L/home/sakishrist/Desktop/buildroot-2012.02/output/host/lib -L/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/lib -Wl,-rpath,/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/lib -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o i386-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o \
dummy-checksum.o main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lppl_c -lppl -lgmpxx -L/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/lib -L/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/lib -L/home/sakishrist/Desktop/buildroot-2012.02/output/host/usr/lib -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../x86_64-unknown-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../x86_64-unknown-linux-gnu/bin/ld: warning: libm.so.6, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::invalid_argument@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::basic_streambuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::length_error::length_error(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::istream@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_allocate_exception@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::istream& std::istream::_M_extract<unsigned long>(unsigned long&)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >::~basic_ostream()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::ostream::put(char)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::assign(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::_Rep::_M_destroy(std::allocator<char> const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__detail::_List_node_base::_M_unhook()@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::string::compare(unsigned long, unsigned long, char const*) const@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::ostream& std::ostream::_M_insert<bool>(bool)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_throw@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::locale::locale()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_guard_release@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `fetestexcept@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::logic_error@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::~basic_ios()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::runtime_error::runtime_error(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::runtime_error::~runtime_error()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::length_error::~length_error()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::istream::putback(char)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::string::_M_mutate(unsigned long, unsigned long, unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `operator new(unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::locale::~locale()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_guard_acquire@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__throw_logic_error(char const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::istream& std::istream::_M_extract<unsigned short>(unsigned short&)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for int@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_end_catch@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_rethrow@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ios_base::ios_base()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::basic_streambuf<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::_Rep::_S_empty_rep_storage@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::string::reserve(unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::invalid_argument::~invalid_argument()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::basic_ios<char, std::char_traits<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::length_error@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `feclearexcept@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::ostream::flush()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `VTT for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::cout@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::domain_error::~domain_error()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `rint@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `__cxa_call_unexpected@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__throw_bad_cast()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >::~basic_istream()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__detail::_List_node_base::swap(std::__detail::_List_node_base&, std::__detail::_List_node_base&)@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::logic_error::~logic_error()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ios_base::Init::Init()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `sqrt@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::domain_error::domain_error(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__gxx_personality_v0@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::istream::get(char&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::setbuf(char*, long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned long, unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::istream& std::istream::_M_extract<unsigned int>(unsigned int&)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ios_base::Init::~Init()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `fegetround@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_free_exception@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::overflow_error::~overflow_error()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::bad_alloc@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__throw_out_of_range(char const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::logic_error::logic_error(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::ostream::write(char const*, long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_guard_abort@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::showmanyc()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::overflow_error::overflow_error(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::exception@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::istream::unget()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::numpunct<char> const& std::use_facet<std::numpunct<char> >(std::locale const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::runtime_error@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `fesetround@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::seekoff(long, std::_Ios_Seekdir, std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ostream& std::ostream::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::imbue(std::locale const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_streambuf<char, std::char_traits<char> >::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `__dynamic_cast@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::string::append(char const*, unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::istream::operator>>(int&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::compare(char const*) const@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `vtable for std::ostream@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__throw_length_error(char const*)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::string::_M_leak_hard()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::ostream::operator<<(int)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_begin_catch@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ios_base::~ios_base()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::ostream& std::ostream::_M_insert<double>(double)@GLIBCXX_3.4.9'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `operator new[](unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.3'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::string::assign(char const*, unsigned long)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__throw_bad_alloc()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::cerr@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::invalid_argument::invalid_argument(std::string const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::operator>><char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::locale::locale(std::locale const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::string::append(unsigned long, char)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libgmpxx.so: undefined reference to `std::ctype<char> const& std::use_facet<std::ctype<char> >(std::locale const&)@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::overflow_error@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `typeinfo for std::domain_error@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `std::terminate()@GLIBCXX_3.4'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl_c.so: undefined reference to `fmod@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libppl.so: undefined reference to `std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)@GLIBCXX_3.4'
collect2: error: ld returned 1 exit status
make[2]: *** [cc1-dummy] Error 1
make[2]: Leaving directory `/home/sakishrist/Desktop/buildroot-2012.02/output/toolchain/gcc-4.5.3-initial/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/sakishrist/Desktop/buildroot-2012.02/output/toolchain/gcc-4.5.3-initial'
make: *** [/home/sakishrist/Desktop/buildroot-2012.02/output/toolchain/gcc-4.5.3-initial/.compiled] Error 2
Am I right to believe the warnings are the cause of these errors? If so, could you give any hints as to why this would be happening.
I tried the build process on a chrooted debian and it actually got through that stage without any problems.
Thanks in advance!
You will need to install below rpms so that the error wont come.
Code:
ppl-devel-32bit-0.11.2-6.1.5.x86_64.rpm
You can get this details from
http://rpmfind.net/linux/rpm2html/search.php?query=libppl_c.so&submit=Search+...&system=&arch=
Last edited by pinga123; 04-11-2012 at 06:00 AM .
04-11-2012, 08:58 AM
#4
Member
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512
Rep:
run the ldconfig command first in case you do have them and they arnt linked.
04-18-2012, 02:15 AM
#5
LQ Newbie
Registered: Aug 2011
Posts: 10
Original Poster
Rep:
Hello again,
Sorry for the delay and thanks for the attention!
@Frustin
I did that and I still get the same error.
@Pinga123
I did that as well but it didn't help. The output is the same.
@Pan64
ldconfig -p gives this:
Code:
$ sudo ldconfig -p | grep "libm.so.6"
libm.so.6 (libc6,x86-64, OS ABI: Linux 2.6.32) => /lib/libm.so.6
libm.so.6 (libc6, OS ABI: Linux 2.6.32) => /usr/lib32/libm.so.6
Code:
$ sudo ldconfig -p | grep "libstdc++.so.6"
libstdc++.so.6 (libc6,x86-64) => /usr/lib/libstdc++.so.6
libstdc++.so.6 (libc6) => /usr/lib32/libstdc++.so.6
04-18-2012, 02:36 AM
#6
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830
that is ok, but can you find those libs in /usr/lib and /lib?
04-18-2012, 02:42 AM
#7
LQ Newbie
Registered: Aug 2011
Posts: 10
Original Poster
Rep:
I can find libm.so.6 in /lib , not in /usr/lib . libstdc++.so.6 can be found in /usr/lib but not in /lib .
04-18-2012, 03:26 AM
#8
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830
04-27-2012, 06:42 AM
#9
LQ Newbie
Registered: Aug 2011
Posts: 10
Original Poster
Rep:
Ld_library_path
It seems I had to set LD_LIBRARY_PATH which was not set when I begun the build. Shouldn't that be already (automatically) set to something?
Thanks in advance!
All times are GMT -5. The time now is 04:13 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News