今天安装memcache
启动服务时出现 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
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/
>sudo ln -s /usr/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5
>sudo 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)
分享到:
相关推荐
deepstream-app: error while loading shared libraries: libnvinfer.so.7: cannot open shared object file: No such file or directory
MYSQL之 error while loading shared libraries: libtinfo.so.5: cannot open shared objectfile: No such f-附件资源
在使用MongoDB数据库服务时,有时可能会遇到启动过程中的错误,如"error while loading shared libraries: libstdc++.so.6: cannot open shared object file"。这个错误表明系统缺少一个名为`libstdc++.so.6`的关键...
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下安装时,存在以下错误: Installing MySQL system tables..../bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
error while loading shared libraries: libstdc++.so.6
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 ...
通过以上步骤,可以有效地解决因缺少`libapr-1.so.0`和`libaprutil-1.so.0`而导致的Apache安装问题,确保Apache能够在目标系统上顺利运行。在日常运维工作中,及时更新系统依赖库,定期检查系统状态,是避免此类问题...
libpango-1.0.so.0.4200.3 cat /lib64/libpango-1.0.so.0|grep -a fribidi_get_par_embedding_levels_ex
在Linux系统中,有时在运行某些程序时可能会遇到“error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory”这样的错误提示,这意味着系统缺少名为libssl...
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,可将系统中的...
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/...
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....
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 ...
如果在安装过程中出现问题,如Ghost之后出现"Error Loading OS",则可能需要检查安装顺序、分区设置和激活主分区。 解决问题的关键在于诊断和定位问题的根源。不要立即假设最复杂的原因,而是从最简单的可能性开始...
liunx中安装samba服务时,经常需要的依赖包:liblber.so.2
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/...
linux运行zipalign报错“error while loading shared libraries: libc++.so“ 相关文章链接https://blog.csdn.net/u010775335/article/details/124869330