Error Launching SDDM and Plasma (Error Loading Shared Driver)

I just installed Manjero KDE on my XPS13 (9310) and it will not boot into SDDM or KDE after installation. When I pull up a terminal and try to manually launch (using startplasma-x11) I get the following error: Error while loading shared libraries: cannot open shared object file: No such file or directory

Any ideas what I need to run to do to boot into SDDM or KDE?

I did run and install from Live USB prior to install and did not experience any issues.

If you can reach a terminal enter

sudo pacman-mirrors -f && sudo pacman -Syyu

Afterwards reboot.

Still won’t boot. Has an issue launching SDDM. I pressed Ctrl+Alt + F2 to enter terminal and after I enter my username and password it also says flatpack: error while loading shared cannot open shared object file: No such file or directory.

I used the following command to see if the library exists on the machine (find / -name* 2>/dev/null and I can see the file exists at /usr/lib32/

Please post output of

inxi -Fazy
mhwd -l

See below. Thanks for your help…

  Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=1e3813bb-2d39-4480-86d1-f526aaa2031d ro quiet 
  root=/dev/mapper/luks-dd2e8376-4dca-4180-b7bb-f608beac2df3 apparmor=1 
  Console: tty 2 Distro: Manjaro Linux 
  Type: Laptop System: Dell product: XPS 13 9310 v: N/A serial: <filter> 
  Chassis: type: 10 serial: <filter> 
  Mobo: Dell model: 0THX8P v: A00 serial: <filter> UEFI: Dell v: 1.1.4 
  date: 11/23/2020 
  ID-1: BAT0 charge: 43.4 Wh condition: 51.0/51.0 Wh (100%) volts: 8.4/7.6 
  model: SMP DELL WN0N00B type: Li-poly serial: <filter> status: Discharging 
  Info: Quad Core model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP 
  arch: Tiger Lake family: 6 model-id: 8C (140) stepping: 1 microcode: 68 
  L2 cache: 8 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 38720 
  Speed: 2116 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 2116 2: 2128 
  3: 2614 4: 2534 5: 2511 6: 2379 7: 3104 8: 3104 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
  Device-1: Intel UHD Graphics vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:9a49 
  Device-2: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo 
  bus ID: 3-6:3 chip ID: 0c45:6a0f 
  Display: server: 1.20.10 driver: intel unloaded: modesetting 
  alternate: fbdev,vesa tty: 240x75 
  Message: Advanced graphics data unavailable in console. Try -G --display 
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Dell 
  driver: sof-audio-pci alternate: snd_hda_intel,snd_sof_pci bus ID: 00:1f.3 
  chip ID: 8086:a0c8 
  Sound Server: ALSA v: k5.9.16-1-MANJARO 
  Device-1: Intel Wi-Fi 6 AX201 vendor: Bigfoot Networks driver: iwlwifi 
  v: kernel port: 3000 bus ID: 00:14.3 chip ID: 8086:a0f0 
  IF: wlp0s20f3 state: down mac: <filter> 
  Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 
  bus ID: 2-3:2 chip ID: 0bda:8153 serial: <filter> 
  IF: enp0s13f0u3 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Local Storage: total: 953.87 GiB used: 8.25 GiB (0.9%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: KIOXIA 
  model: KXG60ZNV1T02 NVMe 1024GB size: 953.87 GiB block size: physical: 512 B 
  logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 10604107 
  temp: 21.9 C 
  ID-1: / raw size: 936.66 GiB size: 920.95 GiB (98.32%) used: 8.25 GiB (0.9%) 
  fs: ext4 dev: /dev/dm-0 maj-min: 254:0 
  mapped: luks-dd2e8376-4dca-4180-b7bb-f608beac2df3 
  ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 480 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 16.91 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/dm-1 maj-min: 254:1 
  mapped: luks-3c6c22e4-95e6-466f-93d9-0039ad26ccd2 
  System Temperatures: cpu: 22.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
  Processes: 248 Uptime: 3h 43m wakeups: 4886 Memory: 15.37 GiB 
  used: 473.8 MiB (3.0%) Init: systemd v: 247 Compilers: gcc: N/A Packages: 
  pacman: 1251 lib: 397 flatpak: 0 Shell: Bash v: 5.1.0 running in: tty 2 
  inxi: 3.2.01 

e[1me[31m> e[m0000:00:02.0 (0300:8086:9a49) Display controller Intel Corporation:

              NAME               VERSION          FREEDRIVER           TYPE

       video-linux            2018.05.04                true            PCI
 video-modesetting            2020.01.13                true            PCI
        video-vesa            2017.03.12                true            PCI

Please, tell us how you installed, it looks like you use an encrypted / partition. This type of information you should let us know just from the start. Also, please provide

sudo efibootmgr -v
sudo parted -l
cat /etc/fstab
cat /etc/default/grub

Your hardware should be perfectly be supported by Linux, so your issues are most likely linked to the way you installed.

Sorry about that. My current install is using encryption. I also setup a swap with hibernate support.

Below is the output of the commands:

BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0003,0006,0000,0001,0002
Boot0000* UEFI KXG60ZNV1T02 NVMe KIOXIA 1024GB Y09F306PFPF1 1	PciRoot(0x0)/Pci(0x6,0x0)/Pci(0x0,0x0)/NVMe(0x1,8C-E3-8E-05-00-4C-A7-79)/HD(1,GPT,587867a0-b972-6742-8d59-7927b7c45069,0x1000,0x96000)/File(\EFI\Boot\BootX64.efi)N.....YM....R,Y.
Boot0001* USB NIC (IPV4)	PciRoot(0x0)/Pci(0xd,0x0)/USB(3,0)/MAC(00e04c0b1dc5,0)/IPv4(,0,0)N.....YM....R,Y.
Boot0002* USB NIC (IPV6)	PciRoot(0x0)/Pci(0xd,0x0)/USB(3,0)/MAC(00e04c0b1dc5,0)/IPv6([::]:<->[::]:,0,0)N.....YM....R,Y.
Boot0003* Manjaro	HD(1,GPT,587867a0-b972-6742-8d59-7927b7c45069,0x1000,0x96000)/File(\EFI\Manjaro\grubx64.efi)
Boot0006* ubuntu	HD(1,GPT,d0695cec-2767-4c32-8fc4-60d30944d9d1,0x800,0x18b000)/File(\EFI\ubuntu\shimx64.efi)
Model: TE USB (scsi)
Disk /dev/sdd: 1050MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  1050MB  1049MB  primary  fat32        boot

Model: KXG60ZNV1T02 NVMe KIOXIA 1024GB (nvme)
Disk /dev/nvme0n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      2097kB  317MB   315MB   fat32              boot, esp
 2      317MB   1006GB  1006GB
 3      1006GB  1024GB  18.2GB

# /etc/fstab: static file system information.
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=CC1A-DD62                            /boot/efi      vfat    umask=0077 0 2
/dev/mapper/luks-dd2e8376-4dca-4180-b7bb-f608beac2df3 /              ext4    defaults,noatime 0 1
/dev/mapper/luks-3c6c22e4-95e6-466f-93d9-0039ad26ccd2 swap           swap    defaults,noatime 0 0
GRUB_CMDLINE_LINUX_DEFAULT="quiet cryptdevice=UUID=dd2e8376-4dca-4180-b7bb-f608beac2df3:luks-dd2e8376-4dca-4180-b7bb-f608beac2df3 root=/dev/mapper/luks-dd2e8376-4dca-4180-b7bb-f608beac2df3 apparmor=1 security=apparmor resume=/dev/mapper/luks-3c6c22e4-95e6-466f-93d9-0039ad26ccd2 udev.log_priority=3"

# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices

# Uncomment to use basic console

# Uncomment to disable graphical terminal

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'videoinfo'

# Uncomment to allow the kernel use the same resolution used by grub

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"

# Uncomment to disable generation of recovery mode menu entries

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.

# Uncomment one of them for the gfx desired, a image background or a gfxtheme

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to ensure that the root filesystem is mounted read-only so that
# systemd-fsck can run the check automatically

@Wollie - based upon this output, would you recommend I get rid of swap partition and/or encryption?

I have not seen any obvious flaws but I’m not an expert in encryption. Either you wait for some more experienced helpers or reinstall without encryption.

Thanks @Wollie for all your help. We’ll see if anyone else responds. I did perform some investigation using pax-util and lddtree .

It looks like the issue may be related to and not having the appropriate link to

I’ve attached a screenshot below of the link, but it is summarized below:

lddtree /usr/bin/sddm
/usr/bin/sddm (interpreter => / => /usr/lib/
 => /usr/lib/
     > None

I’m wondering if the last entry is the issue as there is no link, but I’m not sure how to reinstall the ICU library.

I was able to remediate the issue by running the following command:
sudo Pacman -Syu sddm plasma icu

I’m seeing this too, but in a very different scenario. Using gnome and trying to build gnome components via jhbuild.

╰─ jhbuild buildone mutter                                                                                                                                                                                                                                                                    ─╯
*** Checking out mutter *** [1/1]
git remote set-url origin
git remote update origin
Fetching origin
/usr/lib/git-core/git-remote-https: error while loading shared libraries: cannot open shared object file: No such file or directory
error: Could not fetch origin
*** Error during phase checkout of mutter: ########## Error running git remote update origin *** [1/1]

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.