Bootstrap

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

解决办法,在~/. bash_profile中加入:
export LD_LIBRARY_PATH=/opt/postgresql/lib

vi ~/. bash_profile
export LD_LIBRARY_PATH=/opt/postgresql/lib

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

最后

source ~/. bash_profile
;