New submission from Mikhail Terekhov:

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.

----------
components: Demos and Tools
files: freeze-lib64.diff
keywords: patch
messages: 248633
nosy: termim
priority: normal
severity: normal
status: open
title: freeze.py doesn't work on x86_64 Linux out of the box
versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file40182/freeze-lib64.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24871>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to