I am using linux mint13 64bit
now ,when I use
ldd memcached
the error is below:
ldd: ./memcached: No such file or directory
I don't know why.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityldd search PATH if you don't use full(absolute path)
ldd could not find memcached because this command is not in search PATH first of all find command location by find command , then use ldd
ldd
does not search $PATH
(at least on Debian/Sid, with ldd (Debian EGLIBC 2.13-38) 2.13
given by ldd --version
). For instance ldd sh
fails, while /bin/sh
exists and /bin
is in my $PATH
(and the ldd sh
command is being run from my $HOME
directory which does not have any sh
file).
May 1, 2013 at 15:02
ldd `which memcached`
ldd $(which memcached)
instead. And learn much more aboutPATH
. Theldd
command does work, but expects the file path of some executable... You could tryldd /usr/bin/memcached
if yourmemcached
is inside/usr/bin/
memcached
package (e.g. withaptitude install memcached
) from your distribution, it will take care of dependencies as well. Managing packages dependencies is the job of the package manager of your distribution. If you want to buildmemcached
by yourself, you should care about the dependencies (e.g. withaptitude build-dep memcached
etc....).