You are not logged in.
I'm having trouble booting without issues lately, when xfce starts xorg I get an error:
/usr/lib/Xorg: error while loading shared libraries: libnettle.so.7: cannot open shared object file: No such file or directoryWhen I look at my nettle installation I have version 3.6 installed, with the file libnettle.so.8 in /usr/lib
Since I'm missing libnettle.so.7 I use downgrade to install version 3.5.1 instead, now I can run startxfce4 successfully and get to my desktop.
But the problem is still that now I have the old version of the libnettle file, and programs like vscode don't start properly.
I start getting the same error from vscode and others instead stating that now my libnettle for 3.6 is missing.
electron7: error while loading shared libraries: libnettle.so.8: cannot open shared object file: No such file or directorySo what I have to do now is to boot -> error at xorg start -> downgrade nettle -> startxfce4 -> upgrade nettle to 3.6 again -> start programs like vscode normally.
Any ideas on how to solve this?
Last edited by 7thSon (2020-06-10 18:11:28)
Offline
Partial updates are not supported. Update your entire system.
Offline
Partial updates are not supported. Update your entire system.
I have run yay -Syu and yay -Syua multiple times since the issue started, and I've never (at least intentionally) done a partial update.
Offline
Install pax-utils and run lddtree /usr/lib/Xorg
Offline
Install pax-utils and run lddtree /usr/lib/Xorg
Here's the output:
❯ lddtree /usr/lib/Xorg
/usr/lib/Xorg (interpreter => /lib64/ld-linux-x86-64.so.2)
libc.so.6 => /usr/lib/libc.so.6
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0
libm.so.6 => /usr/lib/libm.so.6
libdl.so.2 => /usr/lib/libdl.so.2
libpciaccess.so.0 => /usr/lib/libpciaccess.so.0
libnettle.so.7 => None
libXau.so.6 => /usr/lib/libXau.so.6
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6
libXfont2.so.2 => /usr/lib/libXfont2.so.2
libz.so.1 => /usr/lib/libz.so.1
libfontenc.so.1 => /usr/lib/libfontenc.so.1
libfreetype.so.6 => /usr/lib/libfreetype.so.6
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0
libpng16.so.16 => /usr/lib/libpng16.so.16
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0
libfreetype.so.6 => !!! circular loop !!!
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0
libpcre.so.1 => /usr/lib/libpcre.so.1
libpthread.so.0 => /usr/lib/libpthread.so.0
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3
libxshmfence.so.1 => /usr/lib/libxshmfence.so.1
libbsd.so.0 => /usr/lib/libbsd.so.0
libdbus-1.so.3 => /usr/lib/libdbus-1.so.3
libsystemd.so.0 => /usr/lib/libsystemd.so.0
librt.so.1 => /usr/lib/librt.so.1
liblzma.so.5 => /usr/lib/liblzma.so.5
liblz4.so.1 => /usr/lib/liblz4.so.1
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0
libudev.so.1 => /usr/lib/libudev.so.1
libdrm.so.2 => /usr/lib/libdrm.so.2
libtirpc.so.3 => /usr/lib/libtirpc.so.3
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0
libkeyutils.so.1 => /usr/lib/libkeyutils.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libkrb5.so.3 => /usr/lib/libkrb5.so.3
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3
libcom_err.so.2 => /usr/lib/libcom_err.so.2Offline
So Xorg itself is linked to the old libnettle. What xorg-server package do you have installed?
Offline
So Xorg itself is linked to the old libnettle. What xorg-server package do you have installed?
Here's everything I have with xorg:
❯ pacman -Q | rg xorg
xorg-bdftopcf 1.1-2
xorg-font-util 1.3.2-2
xorg-font-utils 7.6-6
xorg-fonts-encodings 1.0.5-2
xorg-iceauth 1.0.8-2
xorg-luit 1.1.1-4
xorg-mkfontscale 1.2.1-2
xorg-server-bug865 1.20.8-2
xorg-server-common 1.20.8-2
xorg-setxkbmap 1.3.2-2
xorg-twm 1.0.10-2
xorg-util-macros 1.19.2-2
xorg-xauth 1.1-2
xorg-xclock 1.0.9-2
xorg-xdpyinfo 1.3.2-4
xorg-xev 1.2.3-2
xorg-xinit 1.4.1-2
xorg-xkbcomp 1.4.3-1
xorg-xmodmap 1.0.10-2
xorg-xprop 1.2.4-2
xorg-xrandr 1.5.1-2
xorg-xrdb 1.2.0-2
xorg-xset 1.2.4-2
xorg-xwininfo 1.1.5-2
xorgproto 2020.1-1Offline
So you have an old package you installed from the AUR. It's your responsibility to rebuild non-native packages.
Offline
So you have an old package you installed from the AUR. It's your responsibility to rebuild non-native packages.
Ah yes, I see now that the package including the bug fix hasn't been updated to carry the nettle update.
Okay, I'll just hang about and I'm sure the maintainer will update it soon enough.
Offline
There's nothing for the maintainer to update. It's squarely on your shoulders.
Offline
There's nothing for the maintainer to update. It's squarely on your shoulders.
Ah right, the xorg package just picks up the nettle update. Well thanks for your help!
Offline
Hmm, okay there is still an issue remaining. Now I can correctly boot and startxfce4 starts up xorg properly, but I end up at a black desktop with only my cursor visible.
If I jump between the ttys with ctrl+alt+F2 and back to ctrl+alt+F1, then my desktop shows up as it should.
Could this be related to my original issue somehow?
Last edited by 7thSon (2020-06-10 17:56:22)
Offline
Could this be related to my original issue somehow?
Without any details, how could anyone answer that?
In any event, it is a separate issue. Mark this as solved and create a new thread with logs, details of your setup etc: How To Ask Questions The Smart Way
Last edited by jasonwryan (2020-06-10 18:10:08)
Offline