为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

libatomic.so.1: cannot open shared object file: No such file or directory

  • 6 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 rickrich

more options

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 $

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)

more options

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.


more options

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

more options

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.

more options

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!

more options

Right now, the latest firefox without libatomic.so is firefox 63.0.3 .

https://ftp.mozilla.org/pub/firefox/releases/

For 64-bit releases...

  1. cd /opt
  2. curl /pub/firefox/releases/63.0.3/linux-x86_64/firefox-63.0.3.tar.bz2 > firefox-63.0.3.tar.bz2
  3. zuntar firefox-63.0.3.tar.bz2

For 32-bit releases...

  1. cd /opt
  2. curl /pub/firefox/releases/63.0.3/linux-i686/en-US/firefox-63.0.3.tar.bz2 > firefox-63.0.3.tar.bz2
  3. 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

  1. cd /opt
  2. cat firefox/distribution/policies.json

{

 "policies": {
   "DisableAppUpdate": true
 }

}

more options

Right now, the latest firefox without libatomic.so is firefox 63.0.3 .

https://ftp.mozilla.org/pub/firefox/releases/

For 64-bit releases...

  1. cd /opt
  2. 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
  3. zuntar firefox-63.0.3.tar.bz2

For 32-bit releases...

  1. cd /opt
  2. 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
  3. 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

  1. cd /opt
  2. cat firefox/distribution/policies.json

{

 "policies": {
   "DisableAppUpdate": true
 }

}