This is the error I get at command line:
/usr/lib/chromium-browser/chromium-browser: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
But when clicking on the chromium icon at the left menu it is exiting automatically rather opening it.
Best Answer
There are several steps to get the very latest
chromium-browser
package running on Precise Pangolin, but I have succeeded and so should you!1. Install from PPA:
This PPA is not recommended for general use but worked well on my Precise Pangolin system:
chromium-browser
will not work out of the box as you have experienced until a few other issues are attended to...2. Missing libatomic:
You will see an error when loading
chromium-browser
from the command line: a missing librarylibatomic.so.1
. You can search for this missing file by using the great utilityapt-file
:(This creates a local index rather than a system one, use
sudo apt-file update
if you want a system index.)You will be prompted to download file indices and you should accept this prompt and allow the download. Then search for the missing file:
You can see that it is part of the
gcc-mozilla
package which you can install as follows:Note that shared libraries are not sourced from the
gcc-mozilla
installation location as demonstrated here:So we add an extra path for
chromium-browser
with a slight variation of the technique demonstrated by @Renaud:And you will now see the added search path:
Note: If you try the
aptitude build-dep chromium-browser
method this step (adding the LD path) will still need to be followed...But still more errors:
3. Missing libXss.so.1:
You will then get an error message:
Once again
apt-file
will locate the appropriate package:And then install this library as follows:
And that should do it as
chromium-browser
has no problem finding the library once installed!4. Running the browser:
Running nicely here:
And the obligatory screenshot:
Click for full sized image....
And have fun :)
References: