【发布时间】:2020-04-15 19:46:37
【问题描述】:
我一直在尝试在 Windows 10 环境中使用 MSYS2 构建 REL_10_STABLE 版本的PostgreSQL。
这是我为配置构建而执行的命令:
./configure --enable-thread-safety --enable-nls --with-ldap --with-openssl --with-ossp-uuid --with-libxml --with-libxslt --with-icu --with-tcl --with-perl --with-python
但我收到此错误消息:
正在检查 python...否
检查 python3... 否
正在检查 python2.../mingw64/bin/python2
检查 Python distutils 模块...是
检查 Python 配置目录... C:/msys64/mingw64/lib/python2.7/config
检查 Python 包含目录... -IC:/msys64/mingw64/include/python2.7
检查如何链接嵌入式 Python 应用程序...配置:错误:找不到 Python 的共享库
您可能必须重新构建 Python 安装。参考
有关详细信息的文档。使用 --without-python 禁用构建
PL/Python。
如您所见,安装了 python 2.7,这是我需要使用的版本,我需要使用 python 构建 python,但我不断收到错误消息 "could not find shared library for Python"。
非常感谢任何帮助.
谢谢
山姆
【问题讨论】:
标签: python postgresql python-2.7 msys2 postgresql-10