pkgsrc-Users archive

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

Re: ERROR: object format ``Mach-O'' which differs from ``ELF''.



On Sat, 25 Feb 2023, ppadilcdx%gmail.com@localhost wrote:

Thanks, that worked. I'm hitting a snag on libiconv though:

Undefined symbols for architecture x86_64:
  "_libiconv", referenced from:
      _subst_mb_to_uc_fallback in iconv.o
      _subst_uc_to_mb_fallback in iconv.o
      _subst_mb_to_wc_fallback in iconv.o
      _subst_wc_to_mb_fallback in iconv.o
      _convert in iconv.o
  "_libiconv_close", referenced from:
      _main in iconv.o
  "_libiconv_open", referenced from:
      _main in iconv.o
  "_libiconvctl", referenced from:
      _main in iconv.o
      _convert in iconv.o
  "_libiconvlist", referenced from:
      _main in iconv.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Any ideas?  Thank you!


Sometimes I find myself needing to USE_GNU_ICONV=yes . I wish I better
understood what's really at the bottom of that, thought.

Charlotte


Home | Main Index | Thread Index | Old Index