New GitHub issue #111225 from GRRedWings:<br>

<hr>

<pre>
# Bug report

### Bug description:

In trying to run Python 3.12 on Android. I have been cross-compiling Python for a number of years. Having built a 64bit version I am getting the following error when I try to run

ImportError('dlopen failed: cannot locate symbol "PyExc_OSError" referenced by "/data/data/com.myapp/files/Python64/lib-dynload/_socket.cpython-312.so"...')

I have verified that the _socket.cpython-3.12.so exists.  I'm not really sure what other info would be beneficial for people to help me understand this error so I will start with this and happily add more details if requested.


### CPython versions tested on:

3.12

### Operating systems tested on:

Other
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/111225">View on GitHub</a>
<p>Labels: type-bug</p>
<p>Assignee: </p>