You are not logged in.

#1 2022-11-18 08:00:36

mrfrank
Member
Registered: 2022-11-18
Posts: 2

[SOLVED] Error libcrypto.so.3 on mkinitcpio

Hello there,

I got a big issue during the last update of Arch, on two different system (personal and work one): after an update of some packages I got

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

The update was of these packages:

adwaita-icon-theme alsa-card-profiles alsa-lib alsa-ucm-conf alsa-utils aspell apr-util appstream-glib apparmor apache bluez-libs barrier barrier-headless bind blas blueman babl bluez bluez-utils bolt boost-libs botan btrfs-progs bubblewrap ca-certificates-mozilla cheese-43alpha chromaprint cmake containerd coreutils cryptsetup curl dconf device-mapper dleyna libamtk

and after that some commands return the same error and cannot run (i.e. mkinitcpio, sort, sha256). I tried to redo some installation of packets but yay and pacman are stuck in the same error.


On my personal pc I had a similar error a week ago and I stopped to start (it stops and blink at boot, after the message Reached target Graphical Interface, the ttys are not available but I thinked that was related to the kernel or the nvidia card and I tried to recover via arch-chroot. But this time I've not upate the kernels, so I don't know what can be the error.

Anyone can help me?

I attach the mkinitcpio logs got during the last update (the one without the update of the kernels):

:: Running post-transaction hooks...                                                                                                 
( 1/15) Creating system user accounts...                                                                                             
( 2/15) Reloading system manager configuration...                                                                                   
( 3/15) Creating temporary files...                                                                                                 
( 4/15) Reloading device manager configuration...
( 5/15) Arming ConditionNeedsUpdate...
( 6/15) Updating the MIME type database...
( 7/15) Rebuilding certificate stores...
( 8/15) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 6.0.2-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
sort: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory
modprobe: ERROR: missing parameters. See -h.
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
sort: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory
==> ERROR: Image generation FAILED: find reported an error
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 6.0.2-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
sort: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory
==> ERROR: Image generation FAILED: find reported an error
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 6.0.2-zen1-1-zen
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
sort: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory
modprobe: ERROR: missing parameters. See -h.
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen.img
sort: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory
==> ERROR: Image generation FAILED: find reported an error
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: 6.0.2-zen1-1-zen
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
sort: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory
==> ERROR: Image generation FAILED: find reported an error
( 9/15) Reloading system bus configuration...
(10/15) Warn about old perl modules
(11/15) Updating GIO module cache...

Last edited by mrfrank (2022-11-18 14:57:24)

Offline

#2 2022-11-18 08:10:22

d.ALT
Member
Registered: 2019-05-10
Posts: 959

Re: [SOLVED] Error libcrypto.so.3 on mkinitcpio


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2022-11-18 10:57:11

philo
Member
Registered: 2015-01-26
Posts: 275

Re: [SOLVED] Error libcrypto.so.3 on mkinitcpio

The link is incorrect or outdated.

Offline

#4 2022-11-18 11:53:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,427

Re: [SOLVED] Error libcrypto.so.3 on mkinitcpio

It's dustbinned, you've to be logged in to see it.
I'd also not try pacman-static since the OP already stated to arch-chroot.
Either way, don't run partial updates, but "pacman --sysroot /mnt -Syu" from the install iso w/ everything mounted into place at /mnt (esp. the /boot partition) but NOT chrooted into the live system.

libcrypto.so.3 is in https://archlinux.org/packages/core/x86_64/openssl/ so make sure you're not using some openssl package from the AUR nor ignore it in your pacman.conf

Offline

#5 2022-11-18 12:40:47

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,569
Website

Re: [SOLVED] Error libcrypto.so.3 on mkinitcpio

What distro are you running? Neither cheese-43alpha nor libamtk exist on Arch.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2022-11-18 14:03:26

mrfrank
Member
Registered: 2022-11-18
Posts: 2

Re: [SOLVED] Error libcrypto.so.3 on mkinitcpio

Thank you for this link, it solves the error on the running session.
Unfortunately this not solves the problem on the system: at reboot also this system stuck on boot, but on this one (the work one) I was able to access and use the tty and test that lightdm and xfce4 let me use again the system.

About the suggestion of not to do a partial update, I agree but I put on IgnorePkg the packages of gnome-shell, gnome-desktop, mutter etc.. because on a couple of release these packages created too many issue. But this time upgrading also these packages regarding all the gnome-shell system, it solve the situation and I recovered both the two systems.

Offline

#7 2022-11-18 14:35:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: [SOLVED] Error libcrypto.so.3 on mkinitcpio

If this is fixed please mark as [SOLVED]

Offline

Board footer

Powered by FluxBB