Libudev.so.1 Issue with hypland

Please I need help on running a rust app. I get the following error:

 error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory

Please I need help. Here are details of my laptop:

garuda-inxi

System:
  Kernel: 6.7.5-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: hpet avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=363bfa48-1d0d-4824-88fa-2cd6a45ee7b7 rw rootflags=subvol=@
    quiet rd.luks.uuid=1bf4b8cc-c0c8-4fb1-8f2a-49bf1827587b
    rd.luks.uuid=8b88c647-0e0f-46e4-9504-9473eca142ac
    resume=/dev/mapper/luks-8b88c647-0e0f-46e4-9504-9473eca142ac loglevel=3
    ibt=off
  Desktop: Hyprland v: 0.35.0-83-g8c361363 with: waybar tools:
    avail: swayidle,swaylock vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82MS v: Yoga Slim 7 Pro 14ACH5
    serial: <superuser required> Chassis: type: 10 v: Yoga Slim 7 Pro 14ACH5
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0T76463WIN
    serial: <superuser required> part-nu: LENOVO_MT_82MS_BU_idea_FM_Yoga Slim 7
    Pro 14ACH5 uuid: <superuser required> UEFI: LENOVO v: GZCN30WW
    date: 07/04/2022
Battery:
  ID-1: BAT0 charge: 50.6 Wh (100.0%) condition: 50.6/61.0 Wh (83.0%)
    volts: 17.4 min: 15.4 model: Sunwoda L19D4PH3 type: Li-poly serial: <filter>
    status: full cycles: 442
CPU:
  Info: model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000B
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 675 high: 2431 min/max: 400/4280 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 400 2: 1679 3: 400
    4: 400 5: 400 6: 400 7: 2431 8: 400 9: 400 10: 400 11: 400 12: 400
    bogomips: 79053
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1 empty: DP-1,DP-2
    bus-ID: 03:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 45.0 C
  Device-2: IMC Networks Integrated Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2 chip-ID: 13d3:5419
    class-ID: fe01 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: Hyprland v: 0.35.0-83-g8c361363 driver: X: loaded: amdgpu
    unloaded: modesetting alternate: fbdev,vesa dri: radeonsi gpu: amdgpu
    display-ID: 1
  Monitor-1: eDP-1 model: BOE Display 0x0931 built: 2020 res: 2240x1400
    hz: 60 dpi: 188 gamma: 1.2 scale: 1 size: 302x189mm (11.89x7.44")
    diag: 356mm (14") ratio: 16:10 modes: max: 2240x1400 min: 640x480
  API: Vulkan v: 1.3.276 layers: 3 device: 0 type: integrated-gpu name: AMD
    Radeon Graphics (RADV RENOIR) driver: mesa radv v: 24.0.1-arch1.1
    device-ID: 1002:1638 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
    v: 24.0.1-arch1.1 (LLVM 16.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
    alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
    snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
    snd_sof_amd_rembrandt, snd_sof_amd_vangogh, snd_sof_amd_acp63 pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 03:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 03:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.7.5-zen1-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    vendor: Lenovo driver: rtw89_8852ae v: N/A modules: rtw_8852ae pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 2000 bus-ID: 01:00.0 chip-ID: 10ec:8852
    class-ID: 0280
  IF: wlp1s0 state: up mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-4:2 chip-ID: 0bda:4852
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 5 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
    status: discoverable: no pairing: no
Drives:
  Local Storage: total: 476.94 GiB used: 23.54 GiB (4.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLB512HBJQ-000L2 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 3L1QEXF7 temp: 38.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 461.79 GiB size: 461.79 GiB (100.00%)
    used: 23.54 GiB (5.1%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-1bf4b8cc-c0c8-4fb1-8f2a-49bf1827587b
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 728 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 461.79 GiB size: 461.79 GiB (100.00%)
    used: 23.54 GiB (5.1%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-1bf4b8cc-c0c8-4fb1-8f2a-49bf1827587b
  ID-4: /var/log raw-size: 461.79 GiB size: 461.79 GiB (100.00%)
    used: 23.54 GiB (5.1%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-1bf4b8cc-c0c8-4fb1-8f2a-49bf1827587b
  ID-5: /var/tmp raw-size: 461.79 GiB size: 461.79 GiB (100.00%)
    used: 23.54 GiB (5.1%) fs: btrfs dev: /dev/dm-1 maj-min: 254:1
    mapped: luks-1bf4b8cc-c0c8-4fb1-8f2a-49bf1827587b
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 14.85 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-8b88c647-0e0f-46e4-9504-9473eca142ac
  ID-2: swap-2 type: zram size: 13.5 GiB used: 5.72 GiB (42.3%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 54.9 C mobo: N/A gpu: amdgpu temp: 47.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 13.5 GiB used: 8.79 GiB (65.1%)
  Processes: 406 Power: uptime: 1d 15h 10m states: freeze,mem,disk
    suspend: deep avail: s2idle wakeups: 2 hibernate: platform avail: shutdown,
    reboot, suspend, test_resume image: 5.39 GiB services: upowerd
    Init: systemd v: 255 default: graphical tool: systemctl
  Packages: 1845 pm: nix-default pkgs: 51 pm: nix-sys pkgs: 0 pm: nix-usr
    pkgs: 562 libs: 159 pm: pacman pkgs: 1232 libs: 376 tools: pacseek,paru,yay
    Compilers: clang: 16.0.6 gcc: 13.2.1 Shell: garuda-inxi default: fish
    v: 3.7.0 running-in: foot inxi: 3.3.33
Garuda (2.6.23-1):
  System install date:     2024-02-21
  Last full system update: 2024-02-26 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            systemd-vconsole-setup.service 
Summary

What’s the problem with not posting garuda-inxi?
It contains additional, useful information about the status of your system.

:warning: Missing information requested in the template may result in not receiving assistance

Make sure you have done the following before you post:

Issue still unresolved? Then:

  • ONE issue per topic.
  • Describe your issue in detail. The more we know, the better we can help
  • Show us the results of your searches, and what you’ve tried
  • Format terminal output (including your garuda-inxi) as a code block by clicking the preformatted text button (</>) , or put three tildes (~) above and below the text

Without garuda-inxi this request will be moved to 412 Precondition Failed

  • After rebooting, post the FULL output of garuda-inxi in the body of the post (not linked externally, or collapsed with the “hide details” feature)
1 Like

First of all, this means that a reboot is pending. Just in case…
Then, which package triggers this error and how did you install it?

5 Likes

I am try run a bevy rust app using cargo run

I’m sorry but all this has nothing to deal with Garuda or Arch packages.
Maybe check this, where that lib Is mentioned

Which reminds to this

But I don’t see the dependencies I would expect, which could be systemd-libs. Could!

5 Likes

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