error while loading shared libraries: libreadline.so.5: cannot open shared object file:

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error while loading shared libraries: libreadline.so.5: cannot open shared object file:相关的知识,希望对你有一定的参考价值。

错误信息:

ftp: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory


解决办法:

 yum install -y readline-devel readline


[[email protected] ~]# cd /usr/lib64/

[[email protected] lib64]# ll *libreadline*

lrwxrwxrwx. 1 root root 28 Jul 18 10:13 libreadline.so -> ../../lib64/libreadline.so.6

[[email protected] lib64]# ln -s ../../lib64/libre

libreadline.so.6    libreadline.so.6.0  libresolv-2.12.so   libresolv.so.2      

[[email protected] lib64]# ln -s ../../lib64/libreadline.so.6 libreadline.so.5

[[email protected] lib64]# ll *libreadline*

lrwxrwxrwx. 1 root root 28 Jul 18 10:13 libreadline.so -> ../../lib64/libreadline.so.6

lrwxrwxrwx. 1 root root 28 Jul 18 10:15 libreadline.so.5 -> ../../lib64/libreadline.so.6


本文出自 “10732668” 博客,请务必保留此出处http://10742668.blog.51cto.com/10732668/1948451

以上是关于error while loading shared libraries: libreadline.so.5: cannot open shared object file:的主要内容,如果未能解决你的问题,请参考以下文章

error while loading shared libraries错误解决

error while loading shared libraries错误解决

error while loading shared libraries: libmcrypt.so.4

error while loading shared libraries: libaio.so.1

linux下报错:error while loading shared libraries

error while loading shared libraries的解決方法