STINNER Victor <[email protected]> added the comment:
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
---
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42613>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com