Compile ffmpeg for Sabre Board:error cannot open shared object files:No such file or directory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Compile ffmpeg for Sabre Board:error cannot open shared object files:No such file or directory

711 Views
alper
Contributor I

Hi,

I compiled ffmpeg for OpenCv on the board. After that when i run video,i take a error like this:

error while loading shared libraries: libavicodec.so.57: cannot open shared object file: No such file or directory

How can i solve this error?

Thanks.

Best Regards

Alper Kağıtcı

0 Kudos
2 Replies

541 Views
b36401
NXP Employee
NXP Employee

Please make sure that the directory libavicodec.so.57 is located in (possibly it is /usr/local/lib/) is added into /etc/ld.so.conf.

Have a great day,

Victor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

541 Views
alper
Contributor I

Thank you. Actually i trıed but it didnt work.I followed these steps:

1-I opened ld.so.conf.fıle

2.I wrote these paths:

     /usr/lıb/

    /home/root/ffmpegPKG/

3. run program.

Do i have to put  .so.57 file into /usr/lıb/?

and maybe i made these proccess wrong place. I did on the board.

What is your suggestion about that?

Thanks Mr.Victor

Alper Kağıtcı

0 Kudos