作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用我的 Pi 作为文件服务器,最近当我登录时,我看到一条错误消息,指出 libarmmem.so(无法打开共享对象文件),尽管有一些建议运行 apt-get update + 升级它并没有带来太多快乐,因为它卡住了进度并且只是悬而未决。
除了重新刷卡之外,有没有人建议我还能尝试什么,我想避免这样做。
在“sudo apt-get update”之后从控制台:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Feb 24 15:55:35 2017 from vpn.lshtm.ac.uk
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/usr/bin/xauth: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
admin@ProxyPi:~$ sudo apt-get update
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
0% [Working]ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Hit http://archive.raspberrypi.org jessie InRelease
Hit http://mirrordirector.raspbian.org jessie InRelease
Hit http://archive.raspbian.org jessie InRelease
12% [Waiting for headers] [Waiting for headers]ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit http://archive.raspbian.org jessie/main Sources
Hit http://archive.raspberrypi.org jessie/main armhf Packages
Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit http://archive.raspbian.org jessie/contrib Sources
Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit http://archive.raspbian.org jessie/non-free Sources
Hit http://archive.raspberrypi.org jessie/ui armhf Packages
Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit http://archive.raspbian.org jessie/rpi Sources
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
这是建议的 libfix 命令之后:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Feb 24 15:39:44 2017 from vpn.lshtm.ac.uk
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/usr/bin/xauth: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
admin@ProxyPi:~$ sudo ldconfig -v
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
/sbin/ldconfig.real: Path `/lib/arm-linux-gnueabihf' given more than once
/sbin/ldconfig.real: Path `/usr/lib/arm-linux-gnueabihf' given more than once
/opt/vc/lib:
libmmal_core.so -> libmmal_core.so
libmmal_components.so -> libmmal_components.so
libopenmaxil.so -> libopenmaxil.so
libmmal.so -> libmmal.so
libWFC.so -> libWFC.so
libEGL.so -> libEGL.so
libvcsm.so -> libvcsm.so
libmmal_util.so -> libmmal_util.so
libvchiq_arm.so -> libvchiq_arm.so
libdebug_sym.so -> libdebug_sym.so
libGLESv2.so -> libGLESv2.so
libbcm_host.so -> libbcm_host.so
libOpenVG.so -> libOpenVG.so
libmmal_vc_client.so -> libmmal_vc_client.so
libvcos.so -> libvcos.so
libcontainers.so -> libcontainers.so
/lib/arm-linux-gnueabihf:
libm.so.6 -> libm-2.19.so
librt.so.1 -> librt-2.19.so
libpcre.so.3 -> libpcre.so.3.13.1
libreadline.so.6 -> libreadline.so.6.3
libnss_mdns4_minimal.so.2 -> libnss_mdns4_minimal.so.2
libdbus-1.so.3 -> libdbus-1.so.3.8.13
libnss_mdns_minimal.so.2 -> libnss_mdns_minimal.so.2
libmemusage.so -> libmemusage.so
libdevmapper-event.so.1.02.1 -> libdevmapper-event.so.1.02.1
libpthread.so.0 -> libpthread-2.19.so
libSegFault.so -> libSegFault.so
libkmod.so.2 -> libkmod.so.2.2.8
libiw.so.30 -> libiw.so.30
libnss_nis.so.2 -> libnss_nis-2.19.so
libthread_db.so.1 -> libthread_db-1.0.so
libgpg-error.so.0 -> libgpg-error.so.0.13.0
libpam.so.0 -> libpam.so.0.83.1
libntfs-3g.so.852 -> libntfs-3g.so.852.0.0
libcap.so.2 -> libcap.so.2.24
libcryptsetup.so.4 -> libcryptsetup.so.4.6.0
libcom_err.so.2 -> libcom_err.so.2.1
libprocps.so.3 -> libprocps.so.3.0.0
libhistory.so.6 -> libhistory.so.6.3
libisccfg-export.so.90 -> libisccfg-export.so.90.1.0
libudev.so.1 -> libudev.so.1.5.0
libnl-3.so.200 -> libnl-3.so.200.19.0
libdevmapper.so.1.02.1 -> libdevmapper.so.1.02.1
libgcc_s.so.1 -> libgcc_s.so.1
libusb-1.0.so.0 -> libusb-1.0.so.0.1.0
libpam_misc.so.0 -> libpam_misc.so.0.82.0
libfuse.so.2 -> libfuse.so.2.9.3
libnss_mdns.so.2 -> libnss_mdns.so.2
libncurses.so.5 -> libncurses.so.5.9
libattr.so.1 -> libattr.so.1.1.0
libresolv.so.2 -> libresolv-2.19.so
libnss_compat.so.2 -> libnss_compat-2.19.so
libcidn.so.1 -> libcidn-2.19.so
libselinux.so.1 -> libselinux.so.1
libgcrypt.so.20 -> libgcrypt.so.20.0.3
libparted.so.2 -> libparted.so.2.0.1
libirs-export.so.91 -> libirs-export.so.91.0.0
libudev.so.0 -> libudev.so.0.13.0
libpopt.so.0 -> libpopt.so.0.0.0
libss.so.2 -> libss.so.2.0
libsysfs.so.2 -> libsysfs.so.2.0.1
libuuid.so.1 -> libuuid.so.1.3.0
libncursesw.so.5 -> libncursesw.so.5.9
liblzma.so.5 -> liblzma.so.5.0.0
libmount.so.1 -> libmount.so.1.1.0
libacl.so.1 -> libacl.so.1.1.0
libnss_nisplus.so.2 -> libnss_nisplus-2.19.so
libglib-2.0.so.0 -> libglib-2.0.so.0.4200.1
libpng12.so.0 -> libpng12.so.0.50.0
libnss_hesiod.so.2 -> libnss_hesiod-2.19.so
libatasmart.so.4 -> libatasmart.so.4.0.5
libbsd.so.0 -> libbsd.so.0.7.0
libwrap.so.0 -> libwrap.so.0.7.6
libpamc.so.0 -> libpamc.so.0.82.1
libnss_mdns6_minimal.so.2 -> libnss_mdns6_minimal.so.2
libsystemd.so.0 -> libsystemd.so.0.3.1
libaio.so.1 -> libaio.so.1.0.1
libslang.so.2 -> libslang.so.2.3.0
libply.so.2 -> libply.so.2.1.0
libnss_dns.so.2 -> libnss_dns-2.19.so
liblzo2.so.2 -> liblzo2.so.2.0.0
liblvm2app.so.2.2 -> liblvm2app.so.2.2
libply-boot-client.so.2 -> libply-boot-client.so.2.1.0
libe2p.so.2 -> libe2p.so.2.3
libtinfo.so.5 -> libtinfo.so.5.9
libanl.so.1 -> libanl-2.19.so
libblkid.so.1 -> libblkid.so.1.1.0
libc.so.6 -> libc-2.19.so
libusb-0.1.so.4 -> libusb-0.1.so.4.4.4
libnss_mdns6.so.2 -> libnss_mdns6.so.2
libsmartcols.so.1 -> libsmartcols.so.1.1.0
libcrypt.so.1 -> libcrypt-2.19.so
libbz2.so.1.0 -> libbz2.so.1.0.4
libexpat.so.1 -> libexpat.so.1.6.0
libply-splash-core.so.2 -> libply-splash-core.so.2.1.0
libnss_mdns4.so.2 -> libnss_mdns4.so.2
libnl-genl-3.so.200 -> libnl-genl-3.so.200.19.0
libz.so.1 -> libz.so.1.2.8
libnsl.so.1 -> libnsl-2.19.so
libtirpc.so.1 -> libtirpc.so.1.0.10
libply-splash-graphics.so.2 -> libply-splash-graphics.so.2.1.0
/sbin/ldconfig.real: /lib/arm-linux-gnueabihf/ld-2.19.so is the dynamic linker, ignoring
ld-linux-armhf.so.3 -> ld-2.19.so
libBrokenLocale.so.1 -> libBrokenLocale-2.19.so
libdns-export.so.100 -> libdns-export.so.100.2.2
libaudit.so.1 -> libaudit.so.1.0.0
libsepol.so.1 -> libsepol.so.1
libjson-c.so.2 -> libjson-c.so.2.0.0
libdl.so.2 -> libdl-2.19.so
libutil.so.1 -> libutil-2.19.so
libnfsidmap.so.0 -> libnfsidmap.so.0.3.0
libpcprofile.so -> libpcprofile.so
libnss_files.so.2 -> libnss_files-2.19.so
libulockmgr.so.1 -> libulockmgr.so.1.0.1
libkeyutils.so.1 -> libkeyutils.so.1.5
libext2fs.so.2 -> libext2fs.so.2.4
libisc-export.so.95 -> libisc-export.so.95.5.0
/usr/lib/arm-linux-gnueabihf:
/sbin/ldconfig.real: File /usr/lib/arm-linux-gnueabihf/libQtCLucene.so.4.8 is empty, not checked.
/sbin/ldconfig.real: /usr/lib/arm-linux-gnueabihf/libQtXmlPatterns.so.4.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /usr/lib/arm-linux-gnueabihf/libQtXmlPatterns.so.4 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: File /usr/lib/arm-linux-gnueabihf/libQtCLucene.so.4.8.6 is empty, not checked.
/sbin/ldconfig.real: /usr/lib/arm-linux-gnueabihf/libQtNetwork.so.4.8 is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: File /usr/lib/arm-linux-gnueabihf/libQtCLucene.so.4 is empty, not checked.
/sbin/ldconfig.real: /usr/lib/arm-linux-gnueabihf/libQtXmlPatterns.so.4.8.6 is not an ELF file - it has the wrong magic bytes at the start.
最佳答案
我在 snapd 'snap' 中遇到了同样的错误。我进入了提到的预加载文件
sudo nano/etc/ld.so.preload
并评论了
中的违规行/usr/lib/arm-linux-gnueabihf/libarmmem.so
到
#/usr/lib/arm-linux-gnueabihf/libarmmem.so
关于raspberry-pi - Raspberry pi,libarmmem.so(无法打开共享对象文件)错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42443273/
我正在使用我的 Pi 作为文件服务器,最近当我登录时,我看到一条错误消息,指出 libarmmem.so(无法打开共享对象文件),尽管有一些建议运行 apt-get update + 升级它并没有带来
我是一名优秀的程序员,十分优秀!