Skip to content

failed to execute make on mac system, how to fix it ? #135219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
shenhaizhilong opened this issue Jun 6, 2025 · 2 comments
Closed

failed to execute make on mac system, how to fix it ? #135219

shenhaizhilong opened this issue Jun 6, 2025 · 2 comments
Labels
OS-mac pending The issue will be closed if no feedback is provided

Comments

@shenhaizhilong
Copy link

Undefined symbols for architecture arm64:
  "_libintl_bindtextdomain", referenced from:
      __locale_bindtextdomain in _localemodule.o
  "_libintl_dcgettext", referenced from:
      __locale_dcgettext in _localemodule.o
  "_libintl_dgettext", referenced from:
      __locale_dgettext in _localemodule.o
  "_libintl_gettext", referenced from:
      __locale_gettext in _localemodule.o
  "_libintl_setlocale", referenced from:
      __locale_setlocale in _localemodule.o
      __locale_setlocale in _localemodule.o
      __locale_localeconv in _localemodule.o
      __locale_localeconv in _localemodule.o
      __locale_localeconv in _localemodule.o
      __locale_localeconv in _localemodule.o
  "_libintl_textdomain", referenced from:
      __locale_textdomain in _localemodule.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Programs/_freeze_module] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [build_all_generate_profile] Error 2
make[1]: *** [profile-gen-stamp] Error 2
make: *** [profile-run-stamp] Error 2
@shenhaizhilong
Copy link
Author

python version is 3.11.7

@ronaldoussoren
Copy link
Contributor

You likely have an installation of homebrew or some other package manager on your system that installed x86_64 (Intel) binaries, whereas your system is arm64 (Apple Silicon).

A recent issue from someone with the same issue contains some hints on how to fix this: #122050

@ronaldoussoren ronaldoussoren added OS-mac pending The issue will be closed if no feedback is provided labels Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-mac pending The issue will be closed if no feedback is provided
Projects
None yet
Development

No branches or pull requests

2 participants