[issue36141] configure: error: could not find pthreads on your system during cross compilation

Xavier de Gaye report at bugs.python.org
Wed Feb 27 16:23:13 EST 2019


Xavier de Gaye <xdegaye at gmail.com> added the comment:

What is the NDK version ?

There is no Android pthread library. It is possible that the failure comes from the fact that the first configure test on pthread_create links with pthread and that the Android linker fails now instead of ignoring this error as it did before.

Can you add "ac_cv_pthread_is_default=yes" to the configure command line in order to tell configure that the pthread functions are in the main libc (i.e. bionic) to see if this fixes the problem.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36141>
_______________________________________


More information about the Python-bugs-list mailing list