Hi Marvin,

You do not need (and should not) link with libpython to build extension
modules.  The rationale is described here:
https://www.python.org/dev/peps/pep-0513/#libpythonx-y-so-1

This also applies to manylinux2014, as PEP 599 contains this:

libpythonX.Y remains ineligible for inclusion for the same reasons outlined
in PEP 513 <https://www.python.org/dev/peps/pep-0513>.
Kind regards,
rdb

On Mon, Nov 2, 2020 at 5:47 PM Marvin Jones <[email protected]> wrote:

> It appears to me that whilst the quay.io/pypa/manylinux2014_x86_64
> docker image does have the relevant development headers installed for
> each of the supported Python3 versions (see
> /opt/python/cp38-cp38/include/python3.8/Python.h, etc.) the
> corresponding shared object libraries are not installed
> (libpython3.8.so, etc.) and are missing from /usr/lib64/, or any of the
> other places I might expect to find them. Is this the case? And if so,
> why? I (think) I need to link against them when building a pybind11
> extension (built with CMake).
>
> Marvin Jones.
>
> _______________________________________________
> Wheel-builders mailing list
> [email protected]
> https://mail.python.org/mailman/listinfo/wheel-builders
>
_______________________________________________
Wheel-builders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/wheel-builders

Reply via email to