Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

From one of my customers I got an application. When I try to run it I got following error

error while loading shared libraries: ./ file too short

In my project structure I see following:

-rwxrwxrwx  1 tomasz tomasz       20 2011-02-01 10:44
-rwxrwxrwx  1 tomasz tomasz       22 2011-02-01 10:44
-rwxrwxrwx  1 tomasz tomasz  2147103 2011-02-01 10:44

Is my shared library libvtkWidgets corrupted ? How to solve that error ?

share|improve this question
Running sudo ldconfig gives you the exact problem ("File *** is empty, not checked." or "*** is not a symbolic link") – Yan Foto Dec 15 '15 at 11:17
up vote 7 down vote accepted

There was probably an error copying/extracting the libraries. and should not be files but symbolic links. Try the following:

ln -s
ln -s

Anyway you should check if the software that you are installing is available from the software center. If it is not available and if the above fix does not work you will need to contact the application provider.

share|improve this answer
Thanks a lot, indeed I did a mistake extracting files on Windows and copying extracted files to my Ubuntu virtual machine. That's why all symbolic links were gone. – tommyk Feb 1 '11 at 13:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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