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''.



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!

On 2/25/23 3:29 AM, Jonathan Perkin wrote:
* On 2023-02-25 at 10:41 GMT, p.padilla9%icloud.com@localhost wrote:

Just did a cvs update of my local pkgsrc tree.  Now pkg_chk comes back with a strange error:

ERROR: [depends.mk] Installed package mktools-20220614 has an
ERROR:     object format ``Mach-O'' which differs from ``ELF''. Please
ERROR:     update the mktools-20220614 package to ELF.

This is a bug in bootstrap-mk-files 20230224.  I've fixed the bug in version 20230225, but you may need to override OBJECT_FMT in your mk.conf temporarily so that you can update it.



Home | Main Index | Thread Index | Old Index