codrsquad / codrsquad/portable-python
MacOS linking error (M4, ARM)
未关闭
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 86
- 派生
- 13
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,使用所报告的 Python 安装在 M4 ARM Mac 上复现 portable-python build 3.9.7。检查与缺失的 libintl 符号相关的构建和链接输入;完成的标准是命令在没有 arm64 链接器错误的情况下执行完毕。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, python
- 领域
- build-system, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 30/100