error while loading shared libraries: libevent-1.3e.so.1: cannot open shared object file: No such fi
来源:互联网 发布:python最突出的优点 编辑:程序博客网 时间:2024/06/07 23:57
memcached libevent
先安装libevent
进行检查
[root@datam memcached-1.2.2]# LD_DEBUG=libs memcached -v
4962: find library=libevent-1.3e.so.1 [0]; searching
4962: search cache=/etc/ld.so.cache
4962: search path=/lib64/tls/x86_64:/lib64/tls:/lib64/x86_64:/lib64:/usr/lib64/tls/x86_64:/usr/lib64/tls:/usr/lib64/x86_64:/usr/lib64 (system search path)
4962: trying file=/lib64/tls/x86_64/libevent-1.3e.so.1
4962: trying file=/lib64/tls/libevent-1.3e.so.1
4962: trying file=/lib64/x86_64/libevent-1.3e.so.1
4962: trying file=/lib64/libevent-1.3e.so.1
4962: trying file=/usr/lib64/tls/x86_64/libevent-1.3e.so.1
4962: trying file=/usr/lib64/tls/libevent-1.3e.so.1
4962: trying file=/usr/lib64/x86_64/libevent-1.3e.so.1
4962: trying file=/usr/lib64/libevent-1.3e.so.1
4962:
memcached: error while loading shared libraries: libevent-1.3e.so.1: cannot open shared object file: No such file or directory
进行处理:
[root@datam memcached-1.2.2]# ln -s /usr/lib/libevent-1.3e.so.1 /usr/lib64/libevent-1.3e.so.1
[root@datam memcached-1.2.2]# memcached -h
memcached 1.2.2
-p <num> TCP port number to listen on (default: 11211)
-U <num> UDP port number to listen on (default: 0, off)
-s <file> unix socket path to listen on (disables network support)
-l <ip_addr> interface to listen on, default is INDRR_ANY
-d run as a daemon
-r maximize core file limit
-u <username> assume identity of <username> (only when run as root)
-m <num> max memory to use for items in megabytes, default is 64 MB
-M return error on memory exhausted (rather than removing items)
-c <num> max simultaneous connections, default is 1024
-k lock down all paged memory
-v verbose (print errors/warnings while in event loop)
-vv very verbose (also print client commands/reponses)
-h print this help and exit
-i print memcached and libevent license
-b run a managed instanced (mnemonic: buckets)
-P <file> save PID in <file>, only used with -d option
-f <factor> chunk size growth factor, default 1.25
-n <bytes> minimum space allocated for key+value+flags, default 48
成功之后启动 memcached
./memcached -d -m 2048 -l 192.168.1.126 -p 11211 -u root
- error while loading shared libraries: libevent-1.3e.so.1: cannot open shared object file: No such fi
- ./server: error while loading shared libraries: libzmq.so.1: cannot open shared object file: No such
- error while loading shared libraries: libz.so.1: cannot open shared object file: No such
- mecab: error while loading shared libraries: libmecab.so.1: cannot open shared object file: No such
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such fi
- linux加载共享问题error while loading shared libraries: xxx.so.0:cannot open shared object file: No such fi
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such fi
- 关于 error while loading shared libraries: libfaac.so.0: cannot open shared object file: No such fi
- error while loading shared libraries: libevent-1.3.so.1: cannot open shared object file
- ./memcached: error while loading shared libraries: libevent-1.3.so.1: cannot open shared object file
- error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such fil
- error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such fil
- error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such fil
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file
- error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file.....
- error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file
- Android 存储设备管理 -- Vold
- 访问者模式
- linux命令学习(五)vi
- Jquery学习---选择器与事件
- Android工具HierarchyViewer 代码导读
- error while loading shared libraries: libevent-1.3e.so.1: cannot open shared object file: No such fi
- js控制分页打印
- SD的重要的数据表
- 布局demo三:viewPager实现翻页效果
- 数以千计的秘密
- 开发人员的升级
- XHProf学习笔记
- 设计模式14 - 命令模式 Command Pattern
- 报表之使用rdlc创建图表