当我从源代码中安装PostgreSQL时,我不得不安装lifiline.so.6库。
从那一刻起,我无法更新我的kubuntu系统。
错误是:
Setting up ubuntu-keyring (2011.11.21.1) ...
gpggpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP
: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP
dpkg: error processing ubuntu-keyring (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
ubuntu-keyring
E: Sub-process /usr/bin/dpkg returned an error code (1)'出于这个原因,我想要删除ligroline.so.
如果我这么做,我的PostgreSQL会怎么样?这两件事对我的项目都很重要。
我检查了我的系统
在/usr/local/lib中有三个文件:
libreadline.so
libreadline.so.6
libreadline.so.6.2在/usr/lib/x86_64-linux-gnu/中:
libreadline.so这些是什么?PostgreSQL使用的是哪一个?
发布于 2012-12-29 19:06:27
您安装了一个与ubuntu已经安装的readline不同的版本。您可能会安全地删除它,因为postgresql将得到另一个。
顺便问一下,为什么要在ubuntu上重新编译postgresql?如果您不喜欢在您的ubuntu版本中提供的版本,只需指出您的倾向http://pgapt.debian.net/,并得到您更喜欢的版本。
https://dba.stackexchange.com/questions/31143
复制相似问题