PostgreSQL psql: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory
PostgreSQL About 232 words错误信息
执行psql
时抛出异常:
psql: error while loading shared libraries: libpq.so.5: cannot open shared object file: No such file or directory
解决方法
添加配置
echo "export LD_LIBRARY_PATH=/home/postgres/16.1/lib" >> ~/.bashrc
刷新配置
source ~/.bashrc
Views: 1,061 · Posted: 2024-06-02
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...