[Bug 3053] New: checkinstall failed: error while loading shared libraries: libcrypto.so.45

bugzilla-daemon at bugzilla.mindrot.org
Tue, 06 Aug 2019 07:30:48 -0000

Bug ID: 3053
           Summary: checkinstall failed: error while loading shared
                    libraries: libcrypto.so.45
           Product: Portable OpenSSH
           Version: 8.0p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Build system
          Assignee: unassigned-bugs at mindrot.org
          Reporter: aleksey.moroz at gmail.com

Installing with make install...

========================= Installation results
==========================(cd openbsd-compat && make)
make[1]: Entering directory
'/home/admz/build/openssh-portable/openbsd-compat'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory
'/home/admz/build/openssh-portable/openbsd-compat'
/bin/mkdir -p /usr/local/bin
/bin/mkdir -p /usr/local/sbin
/bin/mkdir -p /usr/local/share/man/man1
/bin/mkdir -p /usr/local/share/man/man5
/bin/mkdir -p /usr/local/share/man/man8
/bin/mkdir -p /usr/local/libexec
/bin/mkdir -p -m 0755 /var/empty
/usr/bin/install -c -m 0755 -s ssh /usr/local/bin/ssh
/usr/bin/install -c -m 0755 -s scp /usr/local/bin/scp
/usr/bin/install -c -m 0755 -s ssh-add /usr/local/bin/ssh-add
/usr/bin/install -c -m 0755 -s ssh-agent /usr/local/bin/ssh-agent
/usr/bin/install -c -m 0755 -s ssh-keygen /usr/local/bin/ssh-keygen
/usr/bin/install -c -m 0755 -s ssh-keyscan /usr/local/bin/ssh-keyscan
/usr/bin/install -c -m 0755 -s sshd /usr/local/sbin/sshd
/usr/bin/install -c -m 4711 -s ssh-keysign
/usr/local/libexec/ssh-keysign
/usr/bin/install -c -m 0755 -s ssh-pkcs11-helper
/usr/local/libexec/ssh-pkcs11-helper
/usr/bin/install -c -m 0755 -s sftp /usr/local/bin/sftp
/usr/bin/install -c -m 0755 -s sftp-server
/usr/local/libexec/sftp-server
/usr/bin/install -c -m 644 ssh.1.out /usr/local/share/man/man1/ssh.1
/usr/bin/install -c -m 644 scp.1.out /usr/local/share/man/man1/scp.1
/usr/bin/install -c -m 644 ssh-add.1.out
/usr/local/share/man/man1/ssh-add.1
/usr/bin/install -c -m 644 ssh-agent.1.out
/usr/local/share/man/man1/ssh-agent.1
/usr/bin/install -c -m 644 ssh-keygen.1.out
/usr/local/share/man/man1/ssh-keygen.1
/usr/bin/install -c -m 644 ssh-keyscan.1.out
/usr/local/share/man/man1/ssh-keyscan.1
/usr/bin/install -c -m 644 moduli.5.out
/usr/local/share/man/man5/moduli.5
/usr/bin/install -c -m 644 sshd_config.5.out
/usr/local/share/man/man5/sshd_config.5
/usr/bin/install -c -m 644 ssh_config.5.out
/usr/local/share/man/man5/ssh_config.5
/usr/bin/install -c -m 644 sshd.8.out /usr/local/share/man/man8/sshd.8
/usr/bin/install -c -m 644 sftp.1.out /usr/local/share/man/man1/sftp.1
/usr/bin/install -c -m 644 sftp-server.8.out
/usr/local/share/man/man8/sftp-server.8
/usr/bin/install -c -m 644 ssh-keysign.8.out
/usr/local/share/man/man8/ssh-keysign.8
/usr/bin/install -c -m 644 ssh-pkcs11-helper.8.out
/usr/local/share/man/man8/ssh-pkcs11-helper.8
/bin/mkdir -p /etc/ssh
/etc/ssh/ssh_config already exists, install will not overwrite
/etc/ssh/sshd_config already exists, install will not overwrite
/etc/ssh/moduli already exists, install will not overwrite
./ssh-keygen: error while loading shared libraries: libcrypto.so.45:
cannot open shared object file: No such file or directory
Makefile:388: recipe for target 'host-key' failed
make: *** [host-key] Error 127

****  Installation failed. Aborting package creation.

Restoring overwritten files from backup...OK

Cleaning up...OK

Bye.


$ find /usr -name "libcrypto.so*" -exec ls -lFa {} \;
lrwxrwxrwx 1 root root 40 Feb 27 15:55
/usr/lib/x86_64-linux-gnu/libcrypto.so ->
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
lrwxrwxrwx 1 root root 38 Jul 20  2015
/usr/lib/i386-linux-gnu/libcrypto.so.0.9.8 ->
/lib/i386-linux-gnu/libcrypto.so.0.9.8
-rwxr-xr-x 1 root root 2315544 Aug  6 09:22
/usr/local/lib/libcrypto.so.45.0.5*
lrwxrwxrwx 1 root root 19 Aug  6 09:22 /usr/local/lib/libcrypto.so ->
libcrypto.so.45.0.5*
lrwxrwxrwx 1 root root 19 Aug  6 09:22 /usr/local/lib/libcrypto.so.45
-> libcrypto.so.45.0.5*