error initializing library

Paul Lindner lindner at inuus.com
Wed Jun 20 01:37:10 UTC 2007


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:
> 
> root at ldfs13 # ./memcached -d -m 2048 -l 192.168.241.217 -p 11211 -u root
> Error initializing library
> root at ldfs13 # 
> 
> The library looks like it's linked correctly:
> 
> root at ldfs13 # 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
> root at ldfs13 # file memcached
> memcached:      ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped, no debugging information available
> root at ldfs13 # 
> 
> 
> any ideas?
> 
> Thanks!
> 
>  
> Sucker-punch spam with award-winning protection.
>  Try the free Yahoo! Mail Beta.
-- 
Paul Lindner        ||||| | | | |  |  |  |   |   |
lindner at inuus.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/memcached/attachments/20070619/76df1a8f/attachment.pgp


More information about the memcached mailing list