[Bug 3952] New: openssh-10.3_p1 fails to build with openssl-4.0.0

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Apr 23 20:43:23 AEST 2026


https://bugzilla.mindrot.org/show_bug.cgi?id=3952

            Bug ID: 3952
           Summary: openssh-10.3_p1 fails to build with openssl-4.0.0
           Product: Portable OpenSSH
           Version: 10.3p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Build system
          Assignee: unassigned-bugs at mindrot.org
          Reporter: service at cybernet.su

Created attachment 3958
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3958&action=edit
build.log

A part of build.log with errors.
IMHO this id due to deprecation - /* OSSL_DEPRECATEDIN_3_0 void
ENGINE_load_builtin_engines(void); */ in openssl-4.0 (include/engine.h)

....
/usr/x86_64-pc-linux-gnu/binutils-bin/2.46.0/ld:
openbsd-compat//libopenbsd-compat.a(openssl-compat.o): in function
`ssh_libcrypto_init':
openssl-compat.c:(.text+0x59): undefined reference to
`ENGINE_load_builtin_engines'
/usr/x86_64-pc-linux-gnu/binutils-bin/2.46.0/ld:
openssl-compat.c:(.text+0x5e): undefined reference to
`ENGINE_register_all_complete'
/usr/x86_64-pc-linux-gnu/binutils-bin/2.46.0/ld:
openbsd-compat//libopenbsd-compat.a(openssl-compat.o): in function
`ssh_libcrypto_init':
openssl-compat.c:(.text+0x59): undefined reference to
`ENGINE_load_builtin_engines'
/usr/x86_64-pc-linux-gnu/binutils-bin/2.46.0/ld:
openssl-compat.c:(.text+0x5e): undefined reference to
`ENGINE_register_all_complete'
collect2: error: ld returned 1 exit status
make: *** [Makefile:226: sshd] Error 1
make: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make: *** [Makefile:223: ssh] Error 1
/usr/x86_64-pc-linux-gnu/binutils-bin/2.46.0/ld:
openbsd-compat//libopenbsd-compat.a(openssl-compat.o): in function
`ssh_libcrypto_init':
openssl-compat.c:(.text+0x59): undefined reference to
`ENGINE_load_builtin_engines'
/usr/x86_64-pc-linux-gnu/binutils-bin/2.46.0/ld:
openssl-compat.c:(.text+0x5e): undefined reference to
`ENGINE_register_all_complete'
collect2: error: ld returned 1 exit status
make: *** [Makefile:229: sshd-session] Error 1
/usr/x86_64-pc-linux-gnu/binutils-bin/2.46.0/ld:
openbsd-compat//libopenbsd-compat.a(openssl-compat.o): in function
`ssh_libcrypto_init':
openssl-compat.c:(.text+0x59): undefined reference to
`ENGINE_load_builtin_engines'
/usr/x86_64-pc-linux-gnu/binutils-bin/2.46.0/ld:
openssl-compat.c:(.text+0x5e): undefined reference to
`ENGINE_register_all_complete'
collect2: error: ld returned 1 exit status
make: *** [Makefile:232: sshd-auth] Error 1

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list