postgresql报错Error while loading shared libraries: libpq.so.5: cannot open shared object file

来源:互联网 发布:淘宝正品篮球鞋货源 编辑:程序博客网 时间:2024/05/16 11:43

解决办法,在~/.bashrc中加入:

export LD_LIBRARY_PATH=/usr/local/postgresql/lib

路径视自己的安装路径情况而定。

然后source ~/.bashrc

0 0