linux 6.0.8: an openssl 1.1 -> openssl 3.0 issue?
I have the follwoing while trying to make a custom 6.0.8-arch1 linux kernel: Installing modules... INSTALL kernel/arch/x86/crypto/aesni-intel.ko STRIP kernel/arch/x86/crypto/aesni-intel.ko SIGN kernel/arch/x86/crypto/aesni-intel.ko scripts/sign-file: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory make[1]: *** [scripts/Makefile.modinst:83: kernel/arch/x86/crypto/aesni-intel.ko] Error 127 make[1]: *** Deleting file 'kernel/arch/x86/crypto/aesni-intel.ko' make: *** [Makefile:1777: modules_install] Error 2 ==> ERROR: A failure occurred in package_linux-custom(). Aborting... Indeed libcrypto.so.1.1 is from openssl 1.1, and there was a switch to openssl 3.0 at the beginning of November 2022. Also could be releveant: $ grep -C3 3.0 scripts/sign-file.c #include <openssl/engine.h> /* * OpenSSL 3.0 deprecates the OpenSSL's ENGINE API. * * Remove this if/when that API is no longer used */ -- u34
Hi u34 I don't have a problem with any of my kernel builds including 6.0.8 and 6.1 git head. Can you run ldd on sign-file and check its up to date? Here's my build: $ ldd scripts/sign-file linux-vdso.so.1 (0x00007fffa08ed000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007fe7b7c00000) libc.so.6 => /usr/lib/libc.so.6 (0x00007fe7b7a19000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 libcrypto above is openssl 3.0.7. I suggest you do a clean build (make clean / git -fddx). gene
Genes Lists <lists@sapience.com> wrote:
Hi u34
I don't have a problem with any of my kernel builds including 6.0.8 and 6.1 git head.
Can you run ldd on sign-file and check its up to date? Here's my build:
$ ldd scripts/sign-file linux-vdso.so.1 (0x00007fffa08ed000) libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007fe7b7c00000) libc.so.6 => /usr/lib/libc.so.6 (0x00007fe7b7a19000) /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2
libcrypto above is openssl 3.0.7.
I suggest you do a clean build (make clean / git -fddx).
gene
Hello, Indeed. make clean solved that. Thank you. -- u34
Am Di., 15. Nov. 2022 um 12:18 Uhr schrieb <u34@net9.ga>:
I have the follwoing while trying to make a custom 6.0.8-arch1 linux kernel:
Installing modules... INSTALL kernel/arch/x86/crypto/aesni-intel.ko STRIP kernel/arch/x86/crypto/aesni-intel.ko SIGN kernel/arch/x86/crypto/aesni-intel.ko scripts/sign-file: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory make[1]: *** [scripts/Makefile.modinst:83: kernel/arch/x86/crypto/aesni-intel.ko] Error 127 make[1]: *** Deleting file 'kernel/arch/x86/crypto/aesni-intel.ko' make: *** [Makefile:1777: modules_install] Error 2 ==> ERROR: A failure occurred in package_linux-custom(). Aborting...
Indeed libcrypto.so.1.1 is from openssl 1.1, and there was a switch to openssl 3.0 at the beginning of November 2022.
Maybe installing ``openssl-1.1`` (this is the *package name*) might help troubleshoot your problem. The current version of ``openssl-1.1`` is ``1.1.1.s-2``, so the complete package name runs ``openssl-1.1-1.1.1.s-2``. HTH Friedrich
participants (3)
-
Friedrich Romstedt
-
Genes Lists
-
u34@net9.ga