error while loading shared libraries: /lib64/libattr.so.1: file too short

i started getting this error every time i try to do anything via command prompt “error while loading shared libraries: /lib64/libattr.so.1: file too short” I have searched around on google but i have not found anything that has helped me. Because of this, i cant get YaST to run and i cant install any RPM files…pretty much unable to do anything. Has anyone ever seen this? Sorry if this is something simple but im still learning and sort of a noob :frowning: I really appreciate the time and the help.

cheers!

What openSUSE release?

When I check on the file on 11.3 I get this:

$ ls -l /lib64/libattr.so.1*
lrwxrwxrwx 1 root root    16 2010-12-27 16:42 /lib64/libattr.so.1 -> libattr.so.1.1.0
-rw-r--r-- 1 root root 18864 2010-07-05 21:11 /lib64/libattr.so.1.1.0

You will probably get a different size and/or date. But if the file is missing or very small, then you have a damaged file and you have to fix it using a rescue disk. A damaged file is worrying because it may mean underlying disk problems. Files don’t disappear or get truncated unless someone has been messing with it.

im running 11.4,

hhhmmm that makes me worry to now that you say that. It happened only after the machine came out of sleep mode.

i didnt touch any of the files…ill try the rescue disk and see if that works.

new hard drive may be in order.