Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

i have an problem with script DocToText from on my 64bit Debian Squeeze. It works properly on another 32bit machine, but on this i have still problem with some .so module.

# file /bin/bash
/bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

if i run it`s return an error:

./doctotext: error while loading shared libraries: cannot open shared object file: No such file or directory

please, can you help?

share|improve this question

Did you install the libgsf package?

apt-get install libgsf-1-dev
share|improve this answer
No, but it return still same error message with libgsf-1-dev package. BTW it return some errors during package installation too – Jiří Valoušek Dec 2 '12 at 18:46
Installing libgsf-1-dev didn't install the right lib, try installing libgsf-1-114 instead. – ott-- Dec 2 '12 at 19:04
I had already installed package libgsf-1-114 before. File which is mentioned in error message is properly placed in /usr/lib/, but it return still same error. – Jiří Valoušek Dec 2 '12 at 19:13
The apt-get error is because your system is low on memory. What does ldd doctotext return? – wazoox Dec 2 '12 at 21:11 – Jiří Valoušek Dec 3 '12 at 7:55

First of all try to enter doctotext directory and execute ./ instead of ./doctotext. This will add doctotext directory to LD_LIBRARY_PATH. Your ldd output shows that wv2 library is missing, but it should be in doctotext directory.

In addition you can find 64-bit version here: This is a snapshot, but next stable version (0.15.0) will probably have official 64-bit binary as well.

share|improve this answer

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.