when I was installing PostgreSQL from source code I had to install the libreadline.so.6 library.
From that moment I can't update my kubuntu system.
The error is:
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)'
For this reason I want remove libreadline.so.6
What will happen to my PostgreSQL if I do it? Both of them are important for my project.
Edit
I checked my system and have:
In /usr/local/lib
three files:
libreadline.so
libreadline.so.6
libreadline.so.6.2
and in /usr/lib/x86_64-linux-gnu/
:
libreadline.so
What are these? Which one of these does PostgreSQL use?
LD_LIBRARY_PATH
so that/usr/local/lib/
is at the end, rather than the beginning. Edit your question with the output from:ldd `which gpggpg`