You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
freeze.py doesn't work on x86_64 Linux out of the box #69059
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-05-14.12:20:23.754>created_at=<Date2015-08-15.03:13:46.742>labels= []
title="freeze.py doesn't work on x86_64 Linux out of the box"updated_at=<Date2021-05-14.12:20:23.753>user='https://github.com/termim'
Activity
termim commentedon Aug 15, 2015
On 64-bit Linux freeze.py uses lib instead of lib64 when constructing
path to Makefile etc. Using sysconfig fixes this issue.
Without encodings.ascii resulting program fails with the following error:
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: unknown encoding: ANSI_X3.4-1968
Aborted
Attached patch fixes both issues.
vstinner commentedon Mar 11, 2020
bpo-1294959 has been fixed by commit 8510f43: Python 3.9 now has sys.platlibdir which will be equal to "lib64" on Fedora and SuSE on 64-bit systems.
vstinner commentedon May 14, 2021
I consider that the issue is now fixed. If it's not the case, please reopen the issue (or open a new issue).