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 am having trouble with embedded linux system which keeps outputting this error: cannot open shared object file: No such file or directory'

Any idea what this error means? What is the file for? What is it needed for?

More iformation:

The embedded linux is on an Aldebaran NAO robot -

And I am trying to load an example module from the documentation (genericvideomodule).

share|improve this question

It's a video codec library (Dirac codec), and you try to start an app that needs it and can't find it.

Without more information (what kind of system are you running, what app you try to start etc.), we can't help you any more than this.

share|improve this answer
I added more information but not sure you will be able to help. It is a very specific embedded system and as far as I know nothing needs a video codec there. – Richard Knop Dec 11 '10 at 17:32

Try runing this (assuming you can get a shell)

ps -e |tr -s ' ' ' ' |cut -f5 -d' '|sort |uniq |xargs which |xargs ldd

That'll show you what libraries are linked by any running userspace processes. If there's a lot of output, you can add |grep -5i dirac :)

If that produces nothing, then cast your net a bit wider:

ldd /usr/bin/* /bin/* /sbin/* /usr/sbin/* /usr/local/bin/* /usr/local/sbin/* |grep -5i dirac

It's a crude search, but it should nail down what's trying to load it.

share|improve this answer

You need to install the libdirac package on your system. On Ubuntu Linux, you would

apt-get install libdirac-dev
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.