Skip to content

Unable to code sign _tkinter library on x86 Mac version due to insufficient headerpad #749

@lbarowski

Description

@lbarowski

Hi, we're planning to bundle these standalone versions (Windows, x86 Linux, x86 Mac, and M1 Mac) with the next jGRASP release.

From cpython-3.13.6+20250808-x86_64-apple-darwin-install_only I was able to code sign everything necessary except for lib/python3.13/lib-dynload/_tkinter.cpython-313-darwin.so

I get the error "can't allocate code signature data ... because larger updated load commands do not fit (the program must be relinked using a larger -headerpad value).

The command used is: codesign -f -o runtime -s "cert_name" file_name

The corresponding Mac aarch64 library does not have this problem.

We develop on a fairly old macOS version (11.6.1) for ease of compatibility.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions