This error message isn't generated by memcached itself.

Does it go away if you link static?  How about permissions?

Also try running "truss" on memcached to see which shared
library/dlopen() call is failing.

On Tue, Jun 19, 2007 at 11:33:15AM -0700, William Pool wrote:
> Hello, I got memcached compiled using gcc the libevent and rest is Sun Studio 
> 11.  I do not think this should be a problem.
> 
> However, when I run:
> 
> [EMAIL PROTECTED] # ./memcached -d -m 2048 -l 192.168.241.217 -p 11211 -u root
> Error initializing library
> [EMAIL PROTECTED] # 
> 
> The library looks like it's linked correctly:
> 
> [EMAIL PROTECTED] # ldd memcached
>         libpthread.so.1 =>       /usr/lib/libpthread.so.1
>         libmalloc.so.1 =>        /usr/lib/libmalloc.so.1
>         libnsl.so.1 =>   /usr/lib/libnsl.so.1
>         libsocket.so.1 =>        /usr/lib/libsocket.so.1
>         libevent-1.3b.so.1 =>    /opt/yp/lib/libevent-1.3b.so.1
>         libc.so.1 =>     /usr/lib/libc.so.1
>         libmp.so.2 =>    /lib/libmp.so.2
>         libmd5.so.1 =>   /lib/libmd5.so.1
>         libscf.so.1 =>   /lib/libscf.so.1
>         libfasttime.so =>        /usr/lib/libfasttime.so
>         libresolv.so.2 =>        /usr/lib/libresolv.so.2
>         libdoor.so.1 =>  /lib/libdoor.so.1
>         libuutil.so.1 =>         /lib/libuutil.so.1
>         libgen.so.1 =>   /lib/libgen.so.1
>         libm.so.2 =>     /lib/libm.so.2
> [EMAIL PROTECTED] # file memcached
> memcached:      ELF 32-bit LSB executable 80386 Version 1, dynamically 
> linked, not stripped, no debugging information available
> [EMAIL PROTECTED] # 
> 
> 
> any ideas?
> 
> Thanks!
> 
>  
> Sucker-punch spam with award-winning protection.
>  Try the free Yahoo! Mail Beta.
-- 
Paul Lindner        ||||| | | | |  |  |  |   |   |
[EMAIL PROTECTED]

Attachment: pgpEozQsBmlYq.pgp
Description: PGP signature

Reply via email to