Message383153
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
--- |
|
| Date |
User |
Action |
Args |
| 2020-12-16 11:16:49 | vstinner | set | recipients:
+ vstinner, ezio.melotti |
| 2020-12-16 11:16:49 | vstinner | set | messageid: <[email protected]> |
| 2020-12-16 11:16:49 | vstinner | link | issue42613 messages |
| 2020-12-16 11:16:49 | vstinner | create | |
|