Skip to content
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

Python fat binary so bsdiff4 >= 1.2.4? #24

Open
walt-jones opened this issue Oct 10, 2024 · 1 comment
Open

Python fat binary so bsdiff4 >= 1.2.4? #24

walt-jones opened this issue Oct 10, 2024 · 1 comment

Comments

@walt-jones
Copy link

We're trying to compile a universal2 executable and have been unable to find/install a fat binary for bsdiff4 >= 1.2.4. arch -x86_64 -arm64 pip3 install bsdiff4 still gives us separate architectures so files and Pyinstaller builds fail with a IncompatibleBinaryArchError error on /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/bsdiff4/core.cpython-312-darwin.so. Any way to get a fat binary of bsdiff4 for MacOS?

@walt-jones
Copy link
Author

We were able to use lipo to combine x86_64 and arm64 architectures into a single .so and this satisfied Pyinstaller's requirements for fat binary. No further action required. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant