Error observed on macOS 12 Monterey
for both x86_64 (Intel) and arm64 (Apple Silicon e.g. M1)
described in https://trac.macports.org/ticket/63725
and still observed when attempting to update to QtWebEngine 5.15.7:
https://github.com/macports/macports-ports/pull/12595

:info:build Undefined symbols for architecture arm64:
:info:build   "std::__1::basic_string<unsigned short, 
base::string16_internals::string16_char_traits, std::__1::allocator<unsigned 
short> >::shrink_to_fit()", referenced from:
:info:build       base::UTF8ToUTF16(char const*, unsigned long, 
std::__1::basic_string<unsigned short, 
base::string16_internals::string16_char_traits, std::__1::allocator<unsigned 
short> >*) in libbase.a(base_jumbo_20.o)
:info:build       base::WideToUTF16(wchar_t const*, unsigned long, 
std::__1::basic_string<unsigned short, 
base::string16_internals::string16_char_traits, std::__1::allocator<unsigned 
short> >*) in libbase.a(base_jumbo_20.o)
:info:build ld: symbol(s) not found for architecture arm64

Any idea for what is causing this? Could the system libc++ be missing something?


Christopher A. Chavez

Reply via email to