[issue26857] gethostbyname_r() is broken on android
Xavier de Gaye
report at bugs.python.org
Tue Apr 26 09:33:19 EDT 2016
New submission from Xavier de Gaye:
HAVE_GETHOSTBYNAME_R is defined on android API 21, but importing the _socket module fails with:
ImportError: dlopen failed: cannot locate symbol "gethostbyaddr_r" referenced by "_socket.cpython-36m-i386-linux-gnu.so"
Patch attached.
The patch does not take into account the fact that this may be fixed in future versions of android.
----------
components: Cross-Build
files: socketmodule.patch
keywords: patch
messages: 264280
nosy: Alex.Willmer, xdegaye
priority: normal
severity: normal
status: open
title: gethostbyname_r() is broken on android
type: behavior
versions: Python 3.6
Added file: http://bugs.python.org/file42609/socketmodule.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26857>
_______________________________________
More information about the Python-bugs-list
mailing list