[SOLVED] scp: error while loading shared libraries: libcrypto.so.1
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My libcrypt.so.1 links to libcrypt1-2.39.so on current. Libcrypt.so.1 is in /lib64.
What are you suggesting? Manually linking? I guess I could do that, but doesn't seem right on a stable release. I do have /lib64/libcrypt.so.1 - but is that the same thing as libcrypto.so.1?
I'm tempted to revert back to the pre-update-all backup and try the update again. I've updated another system and don't have this problem.
You have something old trying to link to libcrypto.so.1. It's not same as libcrypto.so.1.1. To find it, save the script below as, say, "finddep". Then run it as './finddep libcrypto.so.1$' The dollar sign is important at the end.
Code:
#!/bin/sh
[ $# -lt 1 ] && echo 'Usage, for example: ' $0 'libsoup-2.4.so.1' && exit 1
cd /var/adm/packages
for pkg in *; do
( cd /
while read line; do
[ "$line" = "FILE LIST:" ] && break
done
while read f; do
[ -x "$f" -a -f "$f" -a -r "$f" ] && objdump -p "$f" 2>/dev/null|grep NEEDED|grep -Eq "$1" && echo "$pkg": /"$f"
done
) < $pkg
done
You have something old trying to link to libcrypto.so.1. It's not same as libcrypto.so.1.1. To find it, save the script below as, say, "finddep". Then run it as './finddep libcrypto.so.1$' The dollar sign is important at the end.
This is interesting. libreoffice 6.0.6 is quite old, installed in 2018. The latest version (Alien Bob) is 7.6.4. I don't use LibreOffice on this computer. Perhaps if I uninstall it the problem will be fixed? Not sure how/why this would affect scp. I'll wait before removing this package for additional feedback -- in case I might mess something up!
Quote:
Originally Posted by henca
My guess is that it for some reason is your scp binary that links to the old libcrypto.so.1. Could it be that your scp binary is from Slackware 14.2?
I think this looks OK, although no crypto libs are listed. Possibly the LibreOffice issue is the problem? But I don't see why that should affect scp. If I remove the LibreOffice package should I also reinstall openssh?
You could removepkg libreoffice. It's so old that it won't probably work anyway because of other missing library dependencies. But I don't think it has any connection with the scp problem.
In 15.0, scp does not link to libcrypto itself but it runs ssh which links to libcrypto. Would you please try these:
In 15.0, scp does not link to libcrypto itself but it runs ssh which links to libcrypto.
This might depend upon which openssh package you have installed in Slackware 15.0. On an old, outdated, reference installation of the original released Slackware 15.0 I get the following:
You could removepkg libreoffice. It's so old that it won't probably work anyway because of other missing library dependencies. But I don't think it has any connection with the scp problem.
And another idea. Do you have any LD_ environment variables set? Try:
Code:
$ env|grep LD_
There shouldn't be any.
There isn't.
Quote:
Originally Posted by Petri Kaukasoina
Try this, too:
Code:
$ type scp
scp is /usr/bin/scp
('which' does not show aliases or functions.)
Code:
# type scp
scp is /usr/bin/scp
Quote:
Originally Posted by henca
This might depend upon which openssh package you have installed in Slackware 15.0. On an old, outdated, reference installation of the original released Slackware 15.0 I get the following:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.