locate doesn't find all the files it should
Posted
by
neubert
on Super User
See other posts from Super User
or by neubert
Published on 2014-08-23T15:03:52Z
Indexed on
2014/08/23
16:25 UTC
Read the original article
Hit count: 362
I type in locate gmp.h
at the prompt and get the following:
/usr/src/linux-headers-3.13.0-24/include/linux/igmp.h
/usr/src/linux-headers-3.13.0-24/include/uapi/linux/igmp.h
/usr/src/linux-headers-3.13.0-24-generic/include/linux/igmp.h
But when I do ls /usr/include/x86-64-linux-gnu/
I see this:
a.out.h asm bits c++ fpu_control.h gmp.h gnu ieee754.h sys
Why isn't locate
locating /usr/include/x86-64-linux-gnu/gmp.h
?
edit: ls -l /usr/include/x64-64-linux-gnu/gmp.h
says this:
ls: cannot access /usr/include/x64-64-linux-gnu/gmp.h: No such file or diretory
Why would ls /usr/include/x86-64-linux-gnu/
say it exists when ls -l /usr/include/x64-64-linux-gnu/gmp.h
says it doesn't?
A screenshot:
© Super User or respective owner