Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am having trouble with embedded linux system which keeps outputting this error:

libdirac_encoder.so.0: cannot open shared object file: No such file or directory'

Any idea what this error means? What is the file libdirac_encoder.so.0 for? What is it needed for?

More iformation:

The embedded linux is on an Aldebaran NAO robot - http://en.wikipedia.org/wiki/Nao_%28robot%29

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

share|improve this question

3 Answers 3

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

 
discard

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.