dig和nslookup的共享库 [英] shared libraries of dig and nslookup

查看:81
本文介绍了dig和nslookup的共享库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 centos 6.4 .在执行dig或nslookup时,出现以下错误

I am using centos 6.4. While doing dig or nslookup, I got below error

dig: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory

这是我的挖矿经验

'# ldd /usr/bin/dig 
    linux-vdso.so.1 =>  (0x00007fff5e674000)
    liblwres.so.80 => /usr/lib64/liblwres.so.80 (0x00007f73d5c1c000)
    libdns.so.81 => /usr/lib64/libdns.so.81 (0x00007f73d5883000)
    libbind9.so.80 => /usr/lib64/libbind9.so.80 (0x00007f73d5676000)
    libisccfg.so.82 => /usr/lib64/libisccfg.so.82 (0x00007f73d5454000)
    libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007f73d5210000)
    libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x00007f73d4e75000)
    libisccc.so.80 => /usr/lib64/libisccc.so.80 (0x00007f73d4c6d000) '
    ....

您知道如何解决此错误吗?

Do you know how can I fix this error?

请帮助

谢谢,SP

推荐答案

尝试进行软链接

ln -s/usr/lib64/libcrypto.so.10/lib

ln -s /usr/lib64/libcrypto.so.10 /lib

让我们知道这是否对您有所帮助.

Let us know if that helped you.

或者您可以使用yum删除并重新安装.通常,使用yum安装时,库文件会放置在其合适的位置.

Or you can remove and install again using yum. Normally library files places to its apt position when installs using yum.

yum删除dns-utils

yum remove dns-utils

yum install dns-utils

yum install dns-utils

可以在需要时启用epel存储库元素

You can enable epel repositories in case you need it epel

这篇关于dig和nslookup的共享库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆