error while loading shared libraries: libevent-2.0.so.오

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

   mamcache,  error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory

 libevent 

[root@Test ~]# whereis libevent-2.0.so.5

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

[root@Test ~]# ldd /usr/local/bin/memcached

        libevent-2.0.so.5 => /usr/lib64/libevent-2.0.so.5 (0x00002b3de80f6000)

        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003598600000)

        libc.so.6 => /lib64/libc.so.6 (0x0000003597a00000)

        librt.so.1 => /lib64/librt.so.1 (0x0000003599200000)

        /lib64/ld-linux-x86-64.so.2 (0x0000003596a00000)

[root@Test ~]# LD_DEBUG=libs ./memcached -v
  /usr/lib/

[root@Test ~]#sudo ln -s /usr/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5

[root@Test ~]#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)

   memcache

좋은 웹페이지 즐겨찾기