location of ld.so.conf file on Ubuntu 5.10

Mike Bird mgb-ubuntu at yosemite.net
Thu Jan 12 17:33:00 UTC 2006


On Thu, 2006-01-12 at 00:35, J.Markoll wrote:
> 'Forum Post a écrit :
> > it should be under /etc, you can reinstalling and see if it makes a
> > difference
> I found also under /etc but looking up to the same file as Andria I 
> found an error message on hard link:
> 
> ************************************
> $ LANG=C sudo find / -name 'ld.so.cach*'
> /etc/ld.so.cache
> find: WARNING: Hard link count is wrong for /proc/8604: this may be a 
> bug in your filesystem driver.  Automatically turning on find's -noleaf 
> option.  Earlier results may have failed to include directories that 
> should have been searched.
> 
> $ LANG=C sudo find / -name 'ld.so.conf*'
> /etc/ld.so.conf
> $
> ************************************
> 
> Is there anything I should do or checkout ? do anybody know about this 
> type of feature ?

This is a user problem, not a bug.  You were poking through
parts of the namespace such as /proc and /sys and /dev where
random poking can cause errors.

Normally its no more harmful than wiping your keyboard -
a string of garbage characters and an error message which
can be ignored.  On the other hand, you might accidently
type something critical (like a few up arrows and an enter)
so it's really not recommended.

It's safest to search individual subtrees such as /bin,
/boot, /etc/, /lib, and /usr but there are quite a few of
them.  An alternative is to search everywhere and -prune the
places which are inappropriate to your search, which might
include /dev, /proc, and /sys.  If you take this "opt-out"
approach you have to remember to update your scripts when
a new magic directory appears.

--Mike Bird





More information about the ubuntu-users mailing list