Message369362
bpo-1294959 added --with-platlibdir option to configure, but "make install" doesn't fully respect it. Example:
./configure --prefix /opt/py39b1 --with-platlibdir=lib64
make
make install
I get:
/opt/py39b1/lib/python3.9/lib-dynload/readline.cpython-39-x86_64-linux-gnu.so
whereas Python doesn't use this directory:
$ /opt/py39b1/bin/python3.9 -m site
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
sys.path = [
'/home/vstinner/Python-3.9.0b1',
'/opt/py39b1/lib64/python39.zip',
'/opt/py39b1/lib64/python3.9',
'/opt/py39b1/lib64/lib-dynload',
'/home/vstinner/.local/lib/python3.9/site-packages',
'/opt/py39b1/lib64/python3.9/site-packages',
]
USER_BASE: '/home/vstinner/.local' (exists)
USER_SITE: '/home/vstinner/.local/lib/python3.9/site-packages' (exists)
ENABLE_USER_SITE: True
Python looks into /opt/py39b1/lib64/lib-dynload ("lib64")
make install writes into /opt/py39b1/lib/python3.9/lib-dynload/ ("lib") |
|
Date |
User |
Action |
Args |
2020-05-19 15:00:31 | vstinner | set | recipients:
+ vstinner |
2020-05-19 15:00:31 | vstinner | set | messageid: <1589900431.1.0.74204081601.issue40684@roundup.psfhosted.org> |
2020-05-19 15:00:31 | vstinner | link | issue40684 messages |
2020-05-19 15:00:30 | vstinner | create | |
|