Bug 3053 - checkinstall failed: error while loading shared libraries: libcrypto.so.45
Summary: checkinstall failed: error while loading shared libraries: libcrypto.so.45
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 8.0p1
Hardware: Other Linux
: P5 major
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-06 17:30 AEST by admzzz
Modified: 2021-03-04 09:54 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description admzzz 2019-08-06 17:30:48 AEST
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*
Comment 1 admzzz 2019-08-06 17:50:33 AEST
it is not an error, but my mistake: i did not reboot after installing libressl 3.0.0

please delete or close.
Comment 2 Darren Tucker 2019-08-06 19:37:49 AEST
> i did not reboot after installing libressl

Note that you don't you need to reboot, you only need to run ldconfig(8) to rebuild the linker symlinks and cache (which your system presumably does as part of its startup).
Comment 3 Damien Miller 2021-03-04 09:54:41 AEDT
close bugs that were resolved in OpenSSH 8.5 release cycle