gpg: symbol lookup error
2014-04-16 15:45
85 查看
今天使用sudo apt-get 安装包的时候,出现gpg错误,如下:
gpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP
google了一下,看到:
////////////////////////////////////////////////////////////////////////////
I fought this problem from synaptic on down to gpg, only to find it was readline all along. My solution was somewhat simpler than building or patching.
in terminal:
ls /usr/local/lib
there was a bunch of readline libs in there (libreadline.so.BLAH-BLAH) so i:
su
mkdir temp
mv /usr/local/lib/libreadline* temp
ldconfig
apt-get update
and voila. went without a hitch. then i deleted my temporary directory (rm -rf /usr/local/lib/temp), exited su.
~2 hours fighting to no avail, and for it work with a few seconds of commands...
I'm not complaining, but it does seem somewhat of a cruel irony.
///////////////////////////////////////////////////////////////////////////////////
根据上面的网友回答,问题解决了,apt-get 能够正常工作,看来是因为存在多个版本的libreadline.so导致,但是不知道这个libreadline.so在什么时候出现的,头疼。
gpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP
google了一下,看到:
////////////////////////////////////////////////////////////////////////////
I fought this problem from synaptic on down to gpg, only to find it was readline all along. My solution was somewhat simpler than building or patching.
in terminal:
ls /usr/local/lib
there was a bunch of readline libs in there (libreadline.so.BLAH-BLAH) so i:
su
mkdir temp
mv /usr/local/lib/libreadline* temp
ldconfig
apt-get update
and voila. went without a hitch. then i deleted my temporary directory (rm -rf /usr/local/lib/temp), exited su.
~2 hours fighting to no avail, and for it work with a few seconds of commands...
I'm not complaining, but it does seem somewhat of a cruel irony.
///////////////////////////////////////////////////////////////////////////////////
根据上面的网友回答,问题解决了,apt-get 能够正常工作,看来是因为存在多个版本的libreadline.so导致,但是不知道这个libreadline.so在什么时候出现的,头疼。
相关文章推荐
- ubuntu:gpg: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP
- CentOS 6.4上wps新建文档错误symbol lookup error: /opt/kingsoft/wps-office/office6/libftex.so: undefined symb
- c++ runtime symbol lookup error
- symbol lookup error: /usr/lib64/libwebkit-1.0.so.2: undefined symbol: soup_message_set_first_party
- symbol lookup error: undefined symbol
- 由一次 symbol lookup error 引发的思考
- "symbol lookup error"问题解决
- psql error: psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams
- symbol lookup error:: undefined symbol:
- symbol lookup error: /usr/local/lib/libsvn_subr-1.so.0: undefined symbol: apr_atomic_xchgptr
- symbol lookup error"问题
- symbol lookup error错误
- c++ runtime "symbol lookup error"
- mysql: symbol lookup error: /usr/local/lib/libreadline.so.6: undefined symbol: UP
- runtime:symbol lookup error,:undefined symbol :stat
- symbol lookup error
- ssh: symbol lookup error: ssh: undefined symbol: EVP_aes_128_ctr
- yum VNC后,启动时出错/usr/bin/Xvnc: symbol lookup error解决方法
- sh: symbol lookup error: sh: undefined symbol: rl_signal_event_hook错误
- [Linux]NetworkManager and the nmcli command return a 'symbol lookup error' in RHEL 7