杯-浏览服务,雷鸟和其他应用程序无法启动,因为"libgio-2.0.so.0“,怎么办?
elias@eliasc:~/Downloads/_LINUX_PKGS$ thunderbird
XPCOMGlueLoad error for file /usr/lib/thunderbird/libmozgtk.so:
libgio-2.0.so.0: failed to map segment from shared object
Couldn't load XPCOM.
elias@eliasc:~/Downlo
elias@eliasc:~/Downloads/_LINUX_PKGS$ sudo /sbin/ldconfig -v | grep libgio
/sbin/ldconfig.real: Can't stat /usr/local/lib/i386-linux-gnu: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
/sbin/ldconfig.real: Path `/usr/lib/i386-linux-gnu' given more than once
(from /etc/ld.so.conf.d/i386-linux-gnu.conf:4 and /etc/ld.so.conf.d/i386-linux-gnu.conf:3)
/sbin/ldconfig.real: Can't stat /usr/local/lib/i686-linux-gnu: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
/sbin/ldconfig.real: Can't stat /lib/i686-linux-gnu: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
/sbin/ldconfig.real: Can't stat /usr/lib/i686-linux-gnu: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
(from /etc/ld.so.conf.d/x86_64-linux-gnu.conf:3 and /etc/ld.so.conf.d/libreoffice6.2.conf:1)
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
(from /etc/ld.so.conf.d/x86_64-linux-gnu.conf:4 and /etc/ld.so.conf.d/libreoffice6.2.conf:1)
/sbin/ldconfig.real: Path `/usr/lib32' given more than once
(from /etc/ld.so.conf.d/zz_i386-biarch-compat.conf:3 and /etc/ld.so.conf.d/zz_i386-biarch-compat.conf:2)
/sbin/ldconfig.real: Path `/usr/libx32' given more than once
(from /etc/ld.so.conf.d/zz_x32-biarch-compat.conf:3 and /etc/ld.so.conf.d/zz_x32-biarch-compat.conf:2)
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
(from :0 and /etc/ld.so.conf.d/libreoffice6.2.conf:1)
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
(from :0 and /etc/ld.so.conf.d/libreoffice6.2.conf:1)
/sbin/ldconfig.real: Path `/usr/lib' given more than once
(from :0 and :0)
libgio-2.0.so.0 -> libgio-2.0.so.0.6800.1
/sbin/ldconfig.real: /lib/i386-linux-gnu/ld-2.33.so is the dynamic linker, ignoring
/sbin/ldconfig.real: Cannot stat /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος
libgio-qt.so.0 -> libgio-qt.so.0.0.1
/sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/ld-2.33.so is the dynamic linker, ignoring
/sbin/ldconfig.real: /lib32/ld-2.33.so is the dynamic linker, ignoring
libgio-2.0.so.0 -> libgio-2.0.so.0.6400.4
/sbin/ldconfig.real: /lib/ld-lsb.so.3 is the dynamic linker, ignoring
elias@eliasc:~/Downloads/_LINUX_PKGS$ ldconfig -p | grep libgio
libgio-2.0.so.0 (libc6,x86-64) => /usr/local/lib/x86_64-linux-gnu/libgio-2.0.so.0
libgio-2.0.so.0 (libc6) => /lib/i386-linux-gnu/libgio-2.0.so.0
libgio-2.0.so (libc6,x86-64) => /usr/local/lib/x86_64-linux-gnu/libgio-2.0.so
libgio-qt.so.0 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgio-qt.so.0
libgio-qt.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libgio-qt.so
elias@eliasc:~/Downloads/_LINUX_PKGS$ sudo /usr/sbin/cups-browsed -v
/usr/sbin/cups-browsed: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
elias@eliasc:~/Downloads/_LINUX_PKGS$ sudo apt-get install libglib2.0-0
elias@eliasc:~/Downloads/_LINUX_PKGS$ echo $LD_LIBRARY_PATH
发布于 2022-03-03 19:16:40
通过发现LD路径是空的,解决了这个问题。通过运行echo $LD_LIBRARY_PATH
因此,我在文件的末尾添加了~/..bashrc sudo medit ~/.bashrc
:
export LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH=/usr/lib/thunderbird/:"$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH=/usr/bin/thunderbird/:"$LD_LIBRARY_PATH"
然而,雷鸟是唯一的桌面应用程序,没有通过点击它的桌面图标运行,而它正在运行的终端!我又发了一篇文章。
https://unix.stackexchange.com/questions/692692
复制相似问题