`

error while loading shared libraries: libevent-2.0.so.5: cannot open shared obje

 
阅读更多
memchache出现问题
error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory
解决
>whereis libevent-2.0.so.5

libevent-2.0.so.5: /usr/local/lib/libevent-2.0.so.5

> ldd /usr/local/bin/memcached   (ldd指令不熟悉的去查看下)
libevent-2.0.so.5 => not found    (没有找到该文件)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b83fce0e000)
libc.so.6 => /lib64/libc.so.6 (0x00002b83fd029000)
librt.so.1 => /lib64/librt.so.1 (0x00002b83fd381000)
/lib64/ld-linux-x86-64.so.2 (0x00002b83fc9b0000)

> LD_DEBUG=libs ./memcached -v
找到默认路径 /usr/lib/

>ln -s /usr/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5

>ldd /usr/local/bin/memcached
libevent-2.0.so.5 => /usr/lib64/libevent-2.0.so.5 (0x00002b83fcbcd000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b83fce0e000)
libc.so.6 => /lib64/libc.so.6 (0x00002b83fd029000)
librt.so.1 => /lib64/librt.so.1 (0x00002b83fd381000)
/lib64/ld-linux-x86-64.so.2 (0x00002b83fc9b0000)
完成
分享到:
评论

相关推荐

    MYSQL之 error while loading shared libraries: libtinfo.so.5: cannot open shared objectfile: No such f-附件资源

    MYSQL之 error while loading shared libraries: libtinfo.so.5: cannot open shared objectfile: No such f-附件资源

    libnvinfer.so.7

    deepstream-app: error while loading shared libraries: libnvinfer.so.7: cannot open shared object file: No such file or directory

    解决启动MongoDB错误:error while loading shared libraries: libstdc++.so.6:cannot open shared object file:

    在使用MongoDB数据库服务时,有时可能会遇到启动过程中的错误,如"error while loading shared libraries: libstdc++.so.6: cannot open shared object file"。这个错误表明系统缺少一个名为`libstdc++.so.6`的关键...

    error while loading shared libraries xx.so处理方法

    tmux: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory 原因一般有两个, 一个是操作系统里确实没有包含该共享库(lib*.so.*文件)或者共享库...

    mysql linux安装出错 libaio-dev

    mysql linux下安装时,存在以下错误: Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory

    mongodb-linux-x86-64-ubuntu2004-4.4.23.tgz

    mongodb-linux-x86_64-ubuntu2004-4.4.23.tgz适用于ubuntu24 64位系统,启动mongodb的时候若提示./mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file,可将系统中的...

    libssl.so.10缺失库文件的解决办法.doc

    在Linux系统中,有时在运行某些程序时可能会遇到“error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory”这样的错误提示,这意味着系统缺少名为libssl...

    libzstd1_1.4.4+dfsg-1_amd64.deb

    error while loading shared libraries: libstdc++.so.6

    libonig.so.2.0.0

    libonig.so.2 的依赖文件 bin/php: error while loading shared libraries: libonig.so.2: cannot open shared object file: No such libonig.so.2.0.0 放到/usr/lib64 下  ln -s libonig.so.2.0.0 libonig.so....

    安装Apache提示缺少 libapr-1.so.0与libaprutil-1完美解决

    本文将深入探讨“安装Apache提示缺少 libapr-1.so.0与libaprutil-1完美解决”的知识点,帮助读者理解其中的问题原因及解决方法。 ### Apache依赖库解析 在尝试安装Apache时遇到“缺少 libapr-1.so.0与libaprutil-1...

    libpango-1.0.so.0.4200.3

    libpango-1.0.so.0.4200.3 cat /lib64/libpango-1.0.so.0|grep -a fribidi_get_par_embedding_levels_ex

    文件libssl.so.1.0.0、文件libcrypto.so.1.0.0

    bedGraphToBigWig: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory 就将使用root用户,将这两个文件放到/usr/lib64/ 或则使用: ln -s /usr/...

    mysql-libs-5.1.73-3.el6_5.x86_64.rpm

    bin/postconf: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directoryPlease specify the final destination directory for installed Postfix ...

    libevent-devel-1.4.13-1.x86_64.rpm

    Name : libevent-devel Version : 1.4.13 Vendor : StartCom Ltd_, http://www_startcom_org Release : 1 Date : 2010-04-07 22:14:06 Group : Development/Libraries Source RPM : libevent-1.4.13-1.src.rpm ...

    linux 下libXp.so.6不能shared

    libXp.so.6: cannot open shared object file: No such file or directory [oracle@dbadb1 ~]$ ls -ld /usr/lib/libXp.so.6 ls: /usr/lib/libXp.so.6: No such file or directory [root@dbadb1 zhuxu]# rpm -ivh...

    Linux环境下Memcache的安装

    然而,有时在启动Memcache时可能会遇到找不到共享库的错误,如“error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory”。这通常是由于系统路径中...

    errorloadingos解决方法[文].pdf

    "Error Loading OS" 是一种常见的计算机启动错误,通常在尝试加载操作系统时出现。该问题可能由多种原因引起,包括但不限于BIOS设置问题、硬盘错误、主引导记录损坏或未激活的主分区。针对这个错误,我们可以尝试...

    arm-linux-gnueabi-5.4.0.tar

    error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory 解决方法: $sudo ln -s /usr/lib/x86_64-linux-gnu/libmpfr.so.6 /usr/lib/x86_64-linux-gnu/...

Global site tag (gtag.js) - Google Analytics