无法通过错误消息“找不到Python的共享库”来编译PostgreSQL]] << [

问题描述 投票:0回答:1
我一直试图在Windows 10环境中使用PostgreSQL构建MSYS2

REL_10_STABLE

版本。这是我执行的用于配置构建的命令:
./ 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"。非常感谢您的帮助。

谢谢山姆

我一直试图在Windows 10环境中使用MSYS2构建PostgreSQL的REL_10_STABLE版本。这是我执行的用于配置构建的命令:./configure --enable-thread -...

python postgresql python-2.7 msys2 postgresql-10
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.