ovirt 进入数据库postgresql 报错

#su - postgres -c "psql"
psql: error while loading shared libraries: libpq.so.rh-postgresql10-5: cannot open shared object file: No such file or directory

解决方法

# cd /etc/ld.so.conf.d
# echo "/usr/local/pgsql/lib" >>pgsql.conf
# ldconfig

 

 
 
posted @ 2020-09-27 09:17  没有尾巴的狗  阅读(492)  评论(0编辑  收藏  举报