[root@appcache10 libevent-1.4.10-stable]# LD_DEBUG=libs /home/memcached/bin/memcached -v 2>&1 > /dev/null | less
30659: find library=libevent-1.4.so.2 [0]; searching
30659: search cache=/etc/ld.so.cache
30659: 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)
30659: trying file=/lib64/tls/x86_64/libevent-1.4.so.2
30659: trying file=/lib64/tls/libevent-1.4.so.2
30659: trying file=/lib64/x86_64/libevent-1.4.so.2
30659: trying file=/lib64/libevent-1.4.so.2
30659: trying file=/usr/lib64/tls/x86_64/libevent-1.4.so.2
30659: trying file=/usr/lib64/tls/libevent-1.4.so.2
30659: trying file=/usr/lib64/x86_64/libevent-1.4.so.2
30659: trying file=/usr/lib64/libevent-1.4.so.2
30659:
/home/memcached/bin/memcached: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file or directory
[root@appcache10 libevent-1.4.10-stable]# ln -s /usr/local/lib/libevent-1.4.so.2 /lib64/libevent-1.4.so.2
阅读(1251) | 评论(0) | 转发(0) |