antdb安装,显示“error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory”要怎么解决?

0 shijierhuofu 1年前 345次点击

求专业人士解惑,antdb安装显示“error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory”要怎么解决?

共 1 条评论
sanmeimu 1年前
0 

解决方式

.bashrc 环境变量中,是否设置了如下环境变量LD_LIBRARY_PATH

export LD_LIBRARY_PATH=$ADB_HOME/lib:$LD_LIBRARY_PATH

原因说明

某些特殊软件或插件,只识别.bashrc而不识别 .bash_profile,添加后退出终端重新登录。

添加一条新评论

登录后可以发表评论 去登录