libatomic.so.1: cannot open shared object file: No such file or directory
I went from firefox 63.0.2 (which worked) to 63.0.3. Now it says:
firefox: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
I am running "Fedora release 17 (Beefy Miracle)".
$ root yum install libatomic No package libatomic available. Error: Nothing to do $
所有回复 (6)
Your Fedora 17 version from 2012 is too old to run current Firefox releases if you can't install the libatomic library package.
You will have to update to a newer Fedora version.
- /questions/1243962 Firefox 61/64 cannot find shared library libatomic.so.1
Can't you put the library in the firefox tarball like the other libraries?
$ ls firefox/lib*
firefox/libfreeblpriv3.so firefox/libnspr4.so firefox/libsmime3.so firefox/liblgpllibs.so firefox/libnss3.so firefox/libsoftokn3.so firefox/libmozavcodec.so firefox/libnssckbi.so firefox/libssl3.so firefox/libmozavutil.so firefox/libnssdbm3.so firefox/libxul.so firefox/libmozgtk.so firefox/libnssutil3.so firefox/libxul.so.sig firefox/libmozsandbox.so firefox/libplc4.so firefox/libmozsqlite3.so firefox/libplds4.so
There are libs that are part of Firefox and there are libs that are part of your Linux distribution. It is impossible to include these distribution libs with Firefox because there are multiple versions of such libraries and even if it was possible (license and source code) then it would increase the size of Firefox excessively. Such external libs are usually shown under the dependencies if you would use a Firefox version from your distribution and not the version from the Mozilla server and in such a case these libs would be installed automatically if they are available. With the Firefox version from the Mozilla server you only see an error message in the terminal window when you would start Firefox that way.
These are the libs that are included with the *firefox tarball* which are also *included with Fedora*:
$ ll /usr/lib/libfreeblpriv3.so /usr/lib/libnspr4.so /usr/lib/libnss3.so /usr/lib/libnssdbm3.so /usr/lib/libnssutil3.so /usr/lib/libplc4.so /usr/lib/libplds4.so /usr/lib/libsmime3.so /usr/lib/libsoftokn3.so /usr/lib/libssl3.so -rwxr-xr-x. 1 root root 548896 Dec 14 00:46 /usr/lib/libfreeblpriv3.so -rwxr-xr-x. 1 root root 287596 Sep 3 03:49 /usr/lib/libnspr4.so -rwxr-xr-x. 1 root root 1495996 Dec 14 00:46 /usr/lib/libnss3.so -rwxr-xr-x. 1 root root 167856 Dec 14 00:46 /usr/lib/libnssdbm3.so -rwxr-xr-x. 1 root root 184796 Dec 14 00:46 /usr/lib/libnssutil3.so -rwxr-xr-x. 1 root root 22828 Sep 3 03:49 /usr/lib/libplc4.so -rwxr-xr-x. 1 root root 15700 Sep 3 03:49 /usr/lib/libplds4.so -rwxr-xr-x. 1 root root 192824 Dec 14 00:46 /usr/lib/libsmime3.so -rwxr-xr-x. 1 root root 310316 Dec 14 00:46 /usr/lib/libsoftokn3.so -rwxr-xr-x. 1 root root 411828 Dec 14 00:46 /usr/lib/libssl3.so
Obviously, libatomic.so.1 (about 25kb in size) could also be included as well!
Right now, the latest firefox without libatomic.so is firefox 63.0.3 .
https://ftp.mozilla.org/pub/firefox/releases/
For 64-bit releases...
- cd /opt
- curl /pub/firefox/releases/63.0.3/linux-x86_64/firefox-63.0.3.tar.bz2 > firefox-63.0.3.tar.bz2
- zuntar firefox-63.0.3.tar.bz2
For 32-bit releases...
- cd /opt
- curl /pub/firefox/releases/63.0.3/linux-i686/en-US/firefox-63.0.3.tar.bz2 > firefox-63.0.3.tar.bz2
- zuntar firefox-63.0.3.tar.bz2
How to Disable Automatic Updates in Mozilla Firefox 63:
https://www.trishtech.com/2018/10/how-to-disable-automatic-updates-in-mozilla-firefox-63/ https://support.mozilla.org/en-US/questions/1233924 https://github.com/mozilla/policy-templates/blob/master/README.md
- cd /opt
- cat firefox/distribution/policies.json
{
"policies": { "DisableAppUpdate": true }
}
Right now, the latest firefox without libatomic.so is firefox 63.0.3 .
https://ftp.mozilla.org/pub/firefox/releases/
For 64-bit releases...
- cd /opt
- curl https://ftp.mozilla.org/pub/firefox/releases/63.0.3/linux-x86_64/firefox-63.0.3.tar.bz2 > firefox-63.0.3.tar.bz2
- zuntar firefox-63.0.3.tar.bz2
For 32-bit releases...
- cd /opt
- curl https://ftp.mozilla.org/pub/firefox/releases/63.0.3/linux-i686/en-US/firefox-63.0.3.tar.bz2 > firefox-63.0.3.tar.bz2
- zuntar firefox-63.0.3.tar.bz2
How to Disable Automatic Updates in Mozilla Firefox 63:
https://www.trishtech.com/2018/10/how-to-disable-automatic-updates-in-mozilla-firefox-63/ https://support.mozilla.org/en-US/questions/1233924 https://github.com/mozilla/policy-templates/blob/master/README.md
- cd /opt
- cat firefox/distribution/policies.json
{
"policies": { "DisableAppUpdate": true }
}