codrsquad / codrsquad/portable-python

MacOS linking error (M4, ARM)

Ouverte
#69 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Langage dominant
Python
Étoiles
86
Forks
13
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

While trying to run portable-python build 3.9.7 on an m4 mac I encountered the linking error down below.
I installed portable python using pip3.9 install portable-python using python 3.9.25 installed by homebrew

Undefined symbols for architecture arm64:
  "_libintl_bindtextdomain", referenced from:
      _PyIntl_bindtextdomain in lto.o
      _PyIntl_bindtextdomain in lto.o
  "_libintl_dcgettext", referenced from:
      _PyIntl_dcgettext in lto.o
  "_libintl_dgettext", referenced from:
      _PyIntl_dgettext in lto.o
  "_libintl_gettext", referenced from:
      _PyIntl_gettext in lto.o
  "_libintl_setlocale", referenced from:
      _PyLocale_setlocale in lto.o
      _PyLocale_setlocale in lto.o
      _PyLocale_localeconv in lto.o
      _PyLocale_localeconv in lto.o
      _PyLocale_localeconv in lto.o
      _PyLocale_localeconv in lto.o
  "_libintl_textdomain", referenced from:
      _PyIntl_textdomain in lto.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]: *** [python.exe] Error 1
make[2]: *** [build_all_generate_profile] Error 2
make[1]: *** [profile-gen-stamp] Error 2
make: *** [profile-run-stamp] Error 2
ERROR make exited with code 2

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Commencez par reproduire portable-python build 3.9.7 sur un Mac M4 ARM en utilisant l’installation Python indiquée. Inspectez les entrées de build et de linking liées aux symboles libintl manquants ; c’est terminé lorsque la commande s’exécute jusqu’au bout sans l’échec de l’éditeur de liens arm64.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
macos, python
Domaine
build-system, operating-systems
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.