What is the file /etc/ld.so.nohwcap used for?. In my machine (Debian 7), this file is not found. Therefore, Which package or library this file belongs to?

migrated from serverfault.com May 18 '16 at 7:29

This question came from our site for system and network administrators.


It doesn't belong to any package. It's a configuration file you create to modify the behaviour of the dynamic linker.

man ld.so provides the detail.


When this file is present the dynamic linker will load the non-optimized version of a library, even if the CPU supports the optimized version.

Although no reference is made to the file in man ld.so on Jessie (Debian 8), the behaviour has not changed.

  • 2
    The behaviour hasn't changed in Debian 8, just the documentation. – Stephen Kitt Mar 23 '17 at 12:03
  • 1
    I agree, the behavior doesn't seem to have changed. According to strace, at least one program still checks for that file when loading: ls. – daveloyall Nov 21 '17 at 17:49
  • @daveloyall, it is not the ls program that is checking for this file,. but the dynamic linker ld.so which is used in almost any program, including ls. – Juergen Mar 1 at 14:59
  • Yes, exactly. Thank you for stating it clearly! – daveloyall Mar 1 at 15:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.