tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gettext-tools and libiconv on Darwin



> Hi!
> 
> I am doing a pkg_rolling-replace (actually a pkgrrxx, thanks pho!) on my Mac running macOS beta at the moment, and it is failing in the build of gettext-tools. The installed version, 0.21.1, was fine but 0.22 seems to have an iconv dependency somewhere:
> 
> Undefined symbols for architecture arm64:
>  "_iconv_ostream_create", referenced from:
>     -exported_symbol[s_list] command line option
> ld: symbol(s) not found for architecture arm64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> *** [libtextstyle.la] Error code 1
> 
> Any ideas?
> 
> Sure enough, the .expsym file in .libs contains various symbols prefixed with _iconv. The implementations though are #if HAVE_LIBICONV. It looks like an upstream issue to me.
> 
> Or perhaps I am misunderstanding the custom pipeline they use for writing the .sym file in the first place?

Which macOS beta is it? I am on 14.0 23A5312d and gettext-tools build fine.

As far as I know, Apple has switched libiconv implementation between 12.0 and 13.0, so make sure pkgsrc libiconv gets installed and used.

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index