memcached: error while loading shared libraries:
libevent-1.1.so.1:cannot open shared object file: No such
file or directory
Kevin Watt
inspire22 at gmail.com
Fri Jan 13 15:56:32 UTC 2006
Thank you - Sure enough, it was using the /lib64 directory, rather
than /lib or /usr/lib. Useful debug option to know!
Ciao,
Kevin
"My doctor says that I have a malformed public-duty gland and a
natural deficiency in moral fibre, and that I am therefor excused
from saving Universes." - Douglas Adams
On Jan 12, 2006, at 4:34 PM, Garrett, Philip (MAN-Corporate) wrote:
>> -----Original Message-----
>> From: memcached-bounces at lists.danga.com
> [mailto:memcached-bounces at lists.danga.com] On Behalf Of Kevin Watt
>> Sent: Thursday, January 12, 2006 4:19 PM
>> To: memcached at lists.danga.com
>> Subject: memcached: error while loading shared libraries:
> libevent-1.1.so.1:cannot open shared object file: No such file or
> directory
>>
>> Hi,
>>
>> Memcached compiles fine, but when I try to run it, i get:
>> [root at melody memcached-1.1.12]# memcached
>> memcached: error while loading shared libraries: libevent-1.1.so.1:
>> cannot open shared object file: No such file or directory
>>
> [snip]
>>
>> Any help would be much appreciated. I hate hitting these bonk-your-
>> head-against-computer-for-5-hour problems like this.
>
>
> Try running memcached with LD_DEBUG set to "libs". That should
> tell you
> where it is looking for your libraries.
>
> $ LD_DEBUG=libs memcached -v
> 6741: find library=libevent.so.0; searching
> 6741: search cache=/etc/ld.so.cache
> 6741: trying file=/usr/lib/libevent.so.0
> 6741:
> 6741: find library=libc.so.6; searching
> 6741: search cache=/etc/ld.so.cache
> 6741: trying file=/lib/tls/libc.so.6
> 6741:
> 6741:
> 6741: calling init: /lib/tls/libc.so.6
> 6741:
> 6741:
> 6741: calling init: /usr/lib/libevent.so.0
> 6741:
> 6741:
> 6741: initialize program: memcached
> 6741:
> 6741:
> 6741: transferring control: memcached
> 6741:
>
More information about the memcached
mailing list