This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ezio.melotti, vstinner
Date 2020-12-16.11:16:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608117409.17.0.66908368676.issue42613@roundup.psfhosted.org>
In-reply-to
Content
I tested my fix with these commands:
---
./configure --with-platlibdir=lib64 --enable-shared --prefix /opt/py310 CFLAGS="-O0"
make
make install
# move outside CPython source tree
cd

mkdir hello
cd hello
echo 'print("hello")' > hello.py

cp -R  ~/python/master/Tools/freeze/ .
LD_LIBRARY_PATH=/opt/py310/lib /opt/py310/bin/python3.10 freeze/freeze.py hello.py
---

Output:
---
$ LD_LIBRARY_PATH=/opt/py310/lib ./hello 
hello
---
History
Date User Action Args
2020-12-16 11:16:49vstinnersetrecipients: + vstinner, ezio.melotti
2020-12-16 11:16:49vstinnersetmessageid: <1608117409.17.0.66908368676.issue42613@roundup.psfhosted.org>
2020-12-16 11:16:49vstinnerlinkissue42613 messages
2020-12-16 11:16:49vstinnercreate