On Wed, Jun 21, 2023 at 07:45:09AM +0200, Christoph Schmitz wrote: > > I have been unable to compile LyX 2.4 on macOS Sonoma for the past few days. > The error message I am receiving is as follows: > > ... > Making all in qt > /Library/Developer/CommandLineTools/usr/bin/make all-am > make[6]: Nothing to be done for `all-am'. > Making all in . > make[5]: Nothing to be done for `all-am'. > Making all in . > CHK lyx_commit_hash.h > CXXLD lyx > Undefined symbols for architecture x86_64: > "_iconv", referenced from: > lyx::IconvProcessor::convert(char const*, unsigned long, char*, > unsigned long) in liblyxsupport.a(unicode.o) > (anonymous namespace)::iconv_codecvt_facet::do_out(__mbstate_t&, > wchar_t const*, wchar_t const*, wchar_t const*&, char*, char*, char*&) const > in liblyxsupport.a(docstream.o) > (anonymous namespace)::iconv_codecvt_facet::do_in(__mbstate_t&, char > const*, char const*, char const*&, wchar_t*, wchar_t*, wchar_t*&) const in > liblyxsupport.a(docstream.o) > (maybe you meant: lyx::from_iconv_encoding(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char>> const&, > std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char>> const&), > lyx::to_iconv_encoding(std::__1::basic_string<wchar_t, > std::__1::char_traits<wchar_t>, std::__1::allocator<wchar_t>> const&, > std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char>> const&) , AffixMgr::get_iconvtable() const ) > "_iconv_close", referenced from: > lyx::IconvProcessor::Handler::~Handler() in liblyxsupport.a(unicode.o) > (anonymous namespace)::iconv_codecvt_facet::~iconv_codecvt_facet() in > liblyxsupport.a(docstream.o) > "_iconv_open", referenced from: > lyx::IconvProcessor::init() in liblyxsupport.a(unicode.o) > (anonymous > namespace)::iconv_codecvt_facet::iconv_codecvt_facet(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char>> const&, unsigned > int, unsigned long) in liblyxsupport.a(docstream.o) > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > make[4]: *** [lyx] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > I am attempting to compile LyX on macOS Sonoma, however, the issue I am > facing did not originate upon switching to Sonoma. Is there any advice on > what I could do to resolve this?
Hi Chris, Are you using a clean git repository and also building from scratch? What were all the commands that you used (e.g., cmake command) Scott
signature.asc
Description: PGP signature
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel