Help wanted: qt5-qtwebengine undefined symbols error on Monterey

Christopher Chavez chrischavez at gmx.us
Sat Nov 6 22:07:10 UTC 2021


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


More information about the macports-dev mailing list