error while loading shared libraries: libevent-1.x.so.1

安装完memcache后启动报错(error while loading shared libraries: libevent-1.x.so.1)

这是因为64位linux会去/usr/lib64文件夹下去找,没有找到libevent文件,需要拷贝一个软连接到/usr/lib64下

ln -s /usr/lib/libevent-1.4.so.1  /usr/lib64/

error while loading shared libraries: libevent-1.x.so.1

时间: 2024-10-11 20:51:02

error while loading shared libraries: libevent-1.x.so.1的相关文章

安装了libevent和memcached之后却发现在执行的时候出现了 error while loading shared libraries问题

今天晚上心血来潮装libevent和memcached,可是却出现了奇葩的问题,结果一看越来是引导文件的路径不对! 我遇到  error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory 这样的问题是在安装memcached的时候遇到的. 我按别人的攻略安装了libevent和memcached之后却发现在执行的时候出现了. er

error while loading shared libraries: lib******: cannot open shared object file: No such file or directory

程序编译成功后,运行时错误: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory 解决方法: 像libevent这种开源库,编译安装后,一般在/usr/local/lib目录下,可以通过下列命令查找: #whereis libevent-2.0.so.5 libevent-2.0.so: /usr/local/lib/l

error while loading shared libraries: libevent-2.0.so.5解决办法

CentOS下如何安装libevent 1.下载安装包 新版本是libevent-2.0.10-stable.(如果你的系统已经安装了libevent,可以不用安装)官网:http://www.monkey.org/~provos/libevent/下载:http://www.monkey.org/~provos/libevent-2.0.10-stable.tar.gz 2.解压 # tar zxvf libevent-2.0.10-stable.tar.gz 3.进入目录# cd libev

memcached: error while loading shared libraries: libevent-2.0.so.5: cannot o解决

1.检查memcached是否正常运行 #ps aux | grep memcached #或者 #telnet localhost 11211 会显示memcached的基本信息 如果启动时出现“memcached: error while loading shared libraries:libevent-2.0.so.5: cannot open shared object file: No such file or directory”之类的信息,表示memcached 找不到 libe

解决 Magent 安装编译时出现错误和magent: error while loading shared libraries: libevent-2.0.so.5

一.背景 在 Linux上安装Magent代理服务器软件时,在后面的文章会介绍介绍了Magent解决Memcached服务的负载均衡和容错上.我这边先介绍安装Magent过程中出现的问题. 二.问题 安装Magent过程中出现问题 #tar zxvf magent-0.5.tar.gz #/sbin/ldconfig #sed -i "s#LIBS = -levent#LIBS = -levent -lm#g" Makefile #make 问题一:我在编译make Magent出现问

Nginx 启动出错 error while loading shared libraries: libpcre.so.1

在 centos 6.5  64位上编译安装nginx1.63语法检查出错[root @localhost conf]# /usr/local/nginx/sbin/nginx -t /usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 从错误看出是缺少lib文件导致,进一步

sqlplus: error while loading shared libraries解决方法

dbca建库后sqlplus提示如下 $ sqlplus / as sysdba sqlplus: error while loading shared libraries: /u01/app/oracle/product/11.2.0/dbhome_1/lib/libclntsh.so.11.1: cannot restore segment prot after reloc: Permission denied 解决方法 将selinux功能关掉 root用户 将/etc/selinux/c

error while loading shared libraries: libluajit-5.1.so.2: cannot open shared 解决办法

一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如: tmux: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory 原因一般有两个, 一个是操作系统里确实没有包含该共享库(lib*.so.*文件)或者共享库版本不对, 遇到这种情况那就去网上下载并安装上即可. 另外一个原因就是已经安装了该共

/bin/gnugk: error while loading shared libraries: libcrypto.so.0.9.8:

[[email protected] ~]# /bin/gnugk -c /etc/gnugk/gnugk.ini -ttttt -o /var/log/gnugk.log/bin/gnugk: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory 解决方法: [[email protected] ~]# yum -y