You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
I am trying to build the PL/Python library for PostgreSQL with the conda-forge's version of python but
the PostgreSQL's configure script errors out with
checking how to link an embedded Python application... -L/opt/conda/conda-bld/postgresql-split_1546631982179/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.6/config-3.6m-x86_64-linux-gnu -lpython3.6m -lpthread -ldl -lutil -lrt -lm
configure: error: cannot build PL/Python because libpython is not a shared library
You might have to rebuild your Python installation. Refer to the
documentation for details. Use --without-python to disable building
PL/Python.
I dug further into the configure script and it is deciding whether Python was built with a shared library based on the value of ${PYTHON} -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_vars().get('Py_ENABLE_SHARED',0))"
Python 3.6.7 is statically linked to libpython but the libpython.so libraries is also provided. It may be necessary to patch PL/Python's build system to ignore the value of Py_ENABLED_SHARED. For more discussion see #222.
Issue:
I am trying to build the PL/Python library for PostgreSQL with the conda-forge's version of python but
the PostgreSQL's configure script errors out with
I dug further into the configure script and it is deciding whether Python was built with a shared library based on the value of
${PYTHON} -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_vars().get('Py_ENABLE_SHARED',0))"
Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: