-2

When I try to run memcached from shell I get:

memcached: error while loading shared libraries: libevent-1.1a.so.1: cannot open shared object file: No such file or directory

However, i've installed a newer version using yum install libevent. I have also created a .conf file in /etc/ld.so.conf.d/ to say where it is. I have confirmed that libconfig is loading it from the correct location.

so, how do I get memcached to load it from the correct place?

I've done yum install memcached and that has installed memcached 1.4.5-1.e15 and libevent 1.4.13-1. Running Centos5.2 final. I've gone for even removing both and trying again, still no go.

4
  • 1
    Your system is more than three years out of date. Update it. yum --obsoletes update Mar 6, 2013 at 12:05
  • @MichaelHampton Might that mess up a few things (configs/etc)?
    – David
    Mar 6, 2013 at 14:53
  • 1
    Not updating is much worse. Mar 6, 2013 at 14:56
  • hm, not so sure that is true. This is on a development environment for a small team. We don't have the resources to be fixing numerous config files just becuase we should 'update' something.
    – David
    Mar 6, 2013 at 15:08

1 Answer 1

0

memcached: error while loading shared libraries: libevent-1.1a.so.1: cannot open shared object file: No such file or directory

yum provides */libevent-1.1a.so.1
...
compat-libevent-11a-3.2.1-1.el5.rf.x86_64 : Abstract asynchronous event notification library - backwards compatibility
Repo        : rpmforge
Matched from:
Filename    : /usr/lib64/libevent-1.1a.so.1

so, how do I get memcached to load it from the correct place?

Install compat-libevent-11a and try again.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .