locate doesn't find all the files it should
- by neubert
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: