Chromium will not start - libffmpeg problem

11,522

First check if you have ffmpeg installed in your system, by typing which ffmpeg. If it's there but it's not recognized, it means it's broken and you're gonna have to reinstall it. Try apt-get --reinstall install ffmpeg. That, assuming you didn't compile it yourself, in that case you're gonna have to download a fresh copy of ffmpeg from here http://ffmpeg.org/releases/ffmpeg-2.8.3.tar.bz2, and recompile.

Share:
11,522

Related videos on Youtube

Ricevind
Author by

Ricevind

Updated on September 18, 2022

Comments

  • Ricevind
    Ricevind almost 2 years

    When starting chromium-browser from terminal I get:

    /usr/lib/chromium-browser/chromium-browser: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory
    

    I tried reinstalling ffmpeg which didn't work. How can I fix this ?

  • Ricevind
    Ricevind over 8 years
    I run which ffmpeg and got \usr/local/bin/ffmpeg Than i did apt-get -- reinstall install ffmpeg After which nothing changed. Than i downloaded said file. Unpacked it in /opt and runed ./config than make and make install yet it didn't help. Still the same error
  • SevenSonicStructures
    SevenSonicStructures over 8 years
    At the last step, try running sudo make install instead, so it will be installed for all users and it'll ensure chromium will recognize it. Additionally, navigate to the directory /usr/lib/chromium-browser/libs/ and do ls -l, to see which files are present there and their permissions. libffmpeg.so should be there.
  • Ricevind
    Ricevind over 8 years
    My bad i didn't write it, i was doing it as a root... (had opend folder in nautilus as administrator and from there i opened terminal which was in root). In /usr/lib/chromium-browser/libs/ ther ins not libffmpeg.so' listed. But then i used locate -br ^libffmpeg.so$` and there it was. I made a gist with copy of my terminal. gist.github.com/anonymous/cc93ae7e5e78710ee31c
  • SevenSonicStructures
    SevenSonicStructures over 8 years
    If the file isn't there when performing ls, it means there must be a broken association somewhere. Try sudo apt-get install chromium-codecs-ffmpeg* and see if that fixes it, if it doesn't let you, add --reinstall to apt-get to force it. *Fixed the name of the package.
  • Ricevind
    Ricevind over 8 years
    sudo apt-get install chromium-codecs-ffmpeg solved it. I can use chromium again :) Thank You
  • Junior Mayhé
    Junior Mayhé almost 4 years
    After installing this, it did not work in my ubuntu: error while loading shared libraries: libffmpeg.so: cannot open shared object file: No such file or directory