[issue34058] Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/

2018-07-07 Thread Ted Kandell


Ted Kandell  added the comment:

The output of make after a make clean is attached.

For readline, on openSUSE 42.3 you have to install ncurses-devel, not 
libreadline-dev. The instructions aren't clear about this either, or the fact 
that an ncurses or readline development library has to be installed separately. 
However, this didn't cause the "readline" problem, since the shared libraries 
were in /usr/local/lib64 instead of /usr/local/lib, and so they couldn't be 
found in any case.

--
Added file: https://bugs.python.org/file47675/make.log

___
Python tracker 
<https://bugs.python.org/issue34058>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34058] Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/

2018-07-07 Thread Ted Kandell


Ted Kandell  added the comment:

./configure output
default, no parameters

--
Added file: https://bugs.python.org/file47674/configure.log

___
Python tracker 
<https://bugs.python.org/issue34058>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34058] Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/

2018-07-07 Thread Ted Kandell


Ted Kandell  added the comment:

I got the source directly from www.python.org

--

___
Python tracker 
<https://bugs.python.org/issue34058>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34058] Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/

2018-07-06 Thread Ted Kandell


Ted Kandell  added the comment:

This isn't for the OpenSUSE official build itself, just compiling and 
installing from source on OpenSUSE 42.3. Without the symlink, and also with a 
wrong PYTHONHOME, pip coredumps.

--

___
Python tracker 
<https://bugs.python.org/issue34058>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34058] Default Python 3.7 install broken on openSUSE Leap 42.3: $PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to $PYTHONHOME/lib/python3.7/lib-dynload/

2018-07-05 Thread Ted Kandell


New submission from Ted Kandell :

The default Python 3.7 install (./configure with no parameters) does not work 
(at least) on openSUSE Leap 42.3. 

Python3 gives a ModuleNotFoundError: No module named 'readline'
 error, and pip3 has a ModuleNotFoundError: No module named '_socket' error, 
because the site libraries cannot be found.

The fix is to manually:
sudo ln -s /usr/local/lib64/python3.7/lib-dynload/ 
/usr/local/lib/python3.7/lib-dynload

The same problem should also be present with a PYTHONHOME other than the 
default /usr/local .

I suspect this is a more widespread problem than just openSUSE Leap 42.3, and 
may exist in other distros as well.

The fix should be for make install to automatically create the symbolic link 
for the  $PYTHONHOME/lib64/python3.7/lib-dynload directory in 
$PYTHONHOME/lib/python3.7/ .

--
components: Installation
messages: 321145
nosy: tkandell
priority: normal
severity: normal
status: open
title: Default Python 3.7 install broken on openSUSE Leap 42.3: 
$PYTHONHOME/lib64/python3.7/lib-dynload/ not linked to 
$PYTHONHOME/lib/python3.7/lib-dynload/
type: crash
versions: Python 3.7

___
Python tracker 
<https://bugs.python.org/issue34058>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com