更新时间:2023-11-10 19:21:16
psql:符号查找错误:psql:未定义符号:PQsetErrorContextVisibility
psql: symbol lookup error: psql: undefined symbol: PQsetErrorContextVisibility
这意味着您的 psql
副本正在 libpq.so
中查找动态符号,而该符号在您的路径中没有.
That means your copy of psql
is looking for a dynamic symbol in libpq.so
which the version in your path does not have.
您有 psql
的自定义编译版本吗?而且,如果是这样,则必须针对9.6提供的较新的libpq构建它.
Do you have a custom compiled version of psql
? And, if so, you'll have to build it against the newer libpq that 9.6 provides.