在尝试使用apt-get安装postgresql-10时,出现以下错误。
/ usr / lib / postgresql / 10 / bin / postgres:符号查找错误:/ usr / lib / postgresql / 10 / bin / postgres:未定义符号:__xmlStructuredErrorContext 命令“” / usr / lib / postgresql / 10 / bin / postgres“ -V”未返回任何数据 initdb需要程序“ postgres”,但在 与“ / usr / lib / postgresql / 10 / bin / initdb”相同的目录。 检查您的安装。 错误:initdb失败
我厌倦了清除Postgresql并重新安装。然后我也遇到同样的错误。
请求任何人帮助我解决问题