curl: /usr/local/lib/libcurl.so.4: no version information available (required by curl)
这是我得到的错误。此错误并未阻止任何脚本或应用程序运行或执行其任务,但是无论何时使用curl,我都会从系统收到电子邮件。
我有经常执行的Cron工作。每隔几分钟,有些会更长,而我收到的电子邮件中会包含该错误行。我已经从字符串及其变体中搜索到了地狱。但是,我找不到任何有用的东西。
我所做的事情:删除了文件/usr/local/lib/libcurl.so.4
,这使错误消失并且curl仍然没有问题。大约24-48小时后,文件将返回,弹出回到该文件夹,我将不得不重新删除它。我知道这不是正确的做法,但是我不确定还有其他事情要做。
/ usr / local / lib /的内容
libcurl.a
libgcrypt.la
libgpg-error.la
libruby-static.a
python2.7/
weechat/
libcurl.la
libgcrypt.so
libgpg-error.so
node_modules/
python3.4/
libcurl.so
libgcrypt.so.20
libgpg-error.so.0
pkgconfig/
ruby/
libcurl.so.4.3.0
libgcrypt.so.20.0.3
libgpg-error.so.0.15.0
postsrsd/
site_ruby/
已安装的软件包:
$ apt --installed list | grep 'curl'
curl/trusty-updates,trusty-security,now 7.35.0-1ubuntu2.5 amd64 [installed]
libcurl3/trusty-updates,trusty-security,now 7.35.0-1ubuntu2.5 amd64 [installed]
libcurl3-gnutls/trusty-updates,trusty-security,now 7.35.0-1ubuntu2.5 amd64 [installed]
libcurl4-openssl-dev/trusty-updates,trusty-security,now 7.35.0-1ubuntu2.5 amd64 [installed]
php5-curl/trusty-updates,trusty-security,now 5.5.9+dfsg-1ubuntu4.9 amd64 [installed]
python-pycurl/trusty,now 7.19.3-0ubuntu3 amd64 [installed,automatic]
python3-pycurl/trusty,now 7.19.3-0ubuntu3 amd64 [installed]
$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
任何指向我正确方向的事情将不胜感激。
编辑#1(更多信息)每天cron作业运行后,该链接将在8:00:01 am断开。
celestia@Canterlot:/usr/local/lib# ls -hal
drwxr-xr-x 10 celestia root 4.0K Jun 11 07:58 .
drwxr-xr-x 11 celestia root 4.0K Jun 23 2014 ..
-rw-r--r-- 1 celestia root 805K May 2 00:16 libcurl.a
-rwxr-xr-x 1 celestia root 953 May 2 00:16 libcurl.la
lrwxrwxrwx 1 celestia root 16 May 2 00:16 libcurl.so -> libcurl.so.4.3.0
lrwxrwxrwx 1 celestia root 16 Jun 11 07:58 libcurl.so.4 -> libcurl.so.4.3.0
-rwxr-xr-x 1 celestia root 424K May 2 00:16 libcurl.so.4.3.0
-rwxr-xr-x 1 celestia root 987 May 2 00:20 libgcrypt.la
lrwxrwxrwx 1 celestia root 19 May 2 00:20 libgcrypt.so -> libgcrypt.so.20.0.3
lrwxrwxrwx 1 celestia root 19 May 2 00:20 libgcrypt.so.20 -> libgcrypt.so.20.0.3
-rwxr-xr-x 1 celestia root 3.5M May 2 00:20 libgcrypt.so.20.0.3
-rwxr-xr-x 1 celestia root 956 May 2 00:13 libgpg-error.la
lrwxrwxrwx 1 celestia root 22 May 2 00:13 libgpg-error.so -> libgpg-error.so.0.15.0
lrwxrwxrwx 1 celestia root 22 May 2 00:13 libgpg-error.so.0 -> libgpg-error.so.0.15.0
-rwxr-xr-x 1 celestia root 336K May 2 00:13 libgpg-error.so.0.15.0
celestia@Canterlot:/usr/local/lib# stat libcurl.so.4
File: ‘libcurl.so.4’ -> ‘libcurl.so.4.3.0’
Size: 16 Blocks: 0 IO Block: 4096 symbolic link
Device: fc00h/64512d Inode: 30939991 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/celestia) Gid: ( 0/ root)
Access: 2015-06-11 08:00:01.983201467 -0400
Modify: 2015-06-11 07:58:17.551455525 -0400
Change: 2015-06-11 07:58:17.551455525 -0400
Birth: -
celestia@Canterlot:/usr/local/lib# apt-file search libcurl.so.4
libcurl3: /usr/lib/x86_64-linux-gnu/libcurl.so.4
libcurl3: /usr/lib/x86_64-linux-gnu/libcurl.so.4.3.0
celestia@Canterlot:/usr/local/lib# ldd libcurl.so.4
linux-vdso.so.1 => (0x00007fff1cdfe000)
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007fb2e75f1000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007fb2e7216000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fb2e6ffc000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb2e6c37000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb2e6a33000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb2e7ad2000)
checkrootkit
。