所遇异常:
could not load library “/home/postgres/pg_10_1/lib/postgresql/pg_cron.so”:libpq.so.5:cannot open shared object file:No such file or directory
解决办法:
在~/.bashrc中加入:
export LD_LIBRARY_PATH=/home/postgres/pg_10_1/lib
source ~/.bashrc
所遇异常:
could not load library “/home/postgres/pg_10_1/lib/postgresql/pg_cron.so”:libpq.so.5:cannot open shared object file:No such file or directory
解决办法:
在~/.bashrc中加入:
export LD_LIBRARY_PATH=/home/postgres/pg_10_1/lib
source ~/.bashrc