LINUX下载编译libpq(postgresql)
https://ftp.postgresql.org/pub/source/v12.3/postgresql-12.3.tar.bz2https://codeload.github.com/LuaDist/libpq/tar.gz/9.2.1ncurses and readlineBUILD_LIBS=${HOME}/build_libs./configure \--prefix=${BUILD_
·
- 编译readline
https://blog.csdn.net/quantum7/article/details/106175380
- 下载
https://ftp.postgresql.org/pub/source/v12.3/postgresql-12.3.tar.bz2
https://codeload.github.com/LuaDist/libpq/tar.gz/9.2.1
- 解压
- 编译
BUILD_LIBS=${HOME}/build_libs
./configure \
--prefix=${BUILD_LIBS} \
CFLAGS="-I${BUILD_LIBS}/include -fPIC" \
LDFLAGS="-L${BUILD_LIBS}/lib" \
--enable-shared
make
make install
更多推荐
已为社区贡献28条内容
所有评论(0)