Hi all,<div><br></div><div>I'm trying to do a simple hello world using libc++ but I got the following link error :</div><div><br></div><div><div>/usr/local/lib/libc++.so: undefined reference to `std::__1::locale::locale()'</div>
<div>/usr/local/lib/libc++.so: undefined reference to `std::__1::num_get<wchar_t, std::__1::istreambuf_iterator<wchar_t, std::__1::char_traits<wchar_t> > >::id'</div><div>/usr/local/lib/libc++.so: undefined reference to `std::__1::codecvt<char, char, __mbstate_t>::id'</div>
<div>/usr/local/lib/libc++.so: undefined reference to `std::__1::locale::operator=(std::__1::locale const&)'</div><div>/usr/local/lib/libc++.so: undefined reference to `std::__1::__throw_runtime_error(char const*)'</div>
<div>/usr/local/lib/libc++.so: undefined reference to `std::__1::num_put<char, std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> > >::id'</div><div>/usr/local/lib/libc++.so: undefined reference to `std::__1::num_put<wchar_t, std::__1::ostreambuf_iterator<wchar_t, std::__1::char_traits<wchar_t> > >::id'</div>
<div>/usr/local/lib/libc++.so: undefined reference to `std::__1::ctype<char>::id'</div><div>/usr/local/lib/libc++.so: undefined reference to `std::__1::num_get<char, std::__1::istreambuf_iterator<char, std::__1::char_traits<char> > >::id'</div>
<div>/usr/local/lib/libc++.so: undefined reference to `std::__1::codecvt<wchar_t, char, __mbstate_t>::id'</div><div>/usr/local/lib/libc++.so: undefined reference to `std::__1::__vector_base_common<true>::__throw_length_error() const'</div>
<div>/usr/local/lib/libc++.so: undefined reference to `std::__1::locale::locale(std::__1::locale const&)'</div><div>/usr/local/lib/libc++.so: undefined reference to `std::__1::locale::use_facet(std::__1::locale::id&) const'</div>
<div>/usr/local/lib/libc++.so: undefined reference to `std::__1::locale::~locale()'</div><div>/usr/local/lib/libc++.so: undefined reference to `std::__1::ctype<wchar_t>::id'</div></div><div><br></div><div>I use the latest revision of both clang and libc++.</div>
<div><br></div><div>Any ideas ?</div><div><br></div><div><br></div><div>Best regards,</div><div><br></div><div><br></div><div>Jaonary</div>