first build on Linux: OpenSSL issue
-
@mzimmers anti-virus application in Linux? I do not have any. But I know Linux viruses indeed exist.
I have libssl.so.3. You seem not having it.
run
sudo synaptic
Search for libssl
to see if you have installed libssl-dev
If not, install it. This one has version 3.0.2.@JoeCFD I believe I do have it:
mzimmers@LinuxBoxZimmers:~/Downloads$ whereis libssl libssl: /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libssl3.so /usr/lib/x86_64-linux-gnu/libssl.a mzimmers@LinuxBoxZimmers:~/Downloads$ cd /usr/lib/x86_64-linux-gnu/ mzimmers@LinuxBoxZimmers:/usr/lib/x86_64-linux-gnu$ ls -l libssl* -rw-r--r-- 1 root root 382024 Feb 17 2023 libssl3.so -rw-r--r-- 1 root root 1016494 Oct 10 02:03 libssl.a lrwxrwxrwx 1 root root 13 Oct 10 02:03 libssl.so -> libssl.so.1.1 -rw-r--r-- 1 root root 598104 Oct 10 02:03 libssl.so.1.1 mzimmers@LinuxBoxZimmers:/usr/lib/x86_64-linux-gnu$
The link just happens to be pointing to my older version. I don't know why.
-
@JoeCFD I believe I do have it:
mzimmers@LinuxBoxZimmers:~/Downloads$ whereis libssl libssl: /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libssl3.so /usr/lib/x86_64-linux-gnu/libssl.a mzimmers@LinuxBoxZimmers:~/Downloads$ cd /usr/lib/x86_64-linux-gnu/ mzimmers@LinuxBoxZimmers:/usr/lib/x86_64-linux-gnu$ ls -l libssl* -rw-r--r-- 1 root root 382024 Feb 17 2023 libssl3.so -rw-r--r-- 1 root root 1016494 Oct 10 02:03 libssl.a lrwxrwxrwx 1 root root 13 Oct 10 02:03 libssl.so -> libssl.so.1.1 -rw-r--r-- 1 root root 598104 Oct 10 02:03 libssl.so.1.1 mzimmers@LinuxBoxZimmers:/usr/lib/x86_64-linux-gnu$
The link just happens to be pointing to my older version. I don't know why.
-
@mzimmers you do not have libssl.so.3 while you have libssl3.so.
-
@mzimmers
the latest ssl version is 3.0.2 in Jammy 22.04
https://launchpad.net/ubuntu/jammy/+source/openssl
I guess you need to upgrade your Ubuntu. -
@JoeCFD what output do you get when you run this command:
ls -l /usr/lib/x86_64-linux-gnu/libssl*
And, since it appears that I have an older version of openssl, how do I go about removing the old version without disrupting the rest of my system?
-rw-r--r-- 1 root root 418464 Feb 17 2023 /usr/lib/x86_64-linux-gnu/libssl3.so -rw-r--r-- 1 root root 1231268 Feb 6 2023 /usr/lib/x86_64-linux-gnu/libssl.a lrwxrwxrwx 1 root root 11 Feb 6 2023 /usr/lib/x86_64-linux-gnu/libssl.so -> libssl.so.3 -rw-r--r-- 1 root root 598104 Feb 6 2023 /usr/lib/x86_64-linux-gnu/libssl.so.1.1 -rw-r--r-- 1 root root 667864 Feb 6 2023 /usr/lib/x86_64-linux-gnu/libssl.so.3
my libssl.so is linked to libssl.so.3. Maybe try to upgrade your Ubuntu. I have the old version as well. If you can not get the new version with Ubuntu upgrade, try to install openssl with Qt installation tool. There you can install openssl 3.0.
-
-rw-r--r-- 1 root root 418464 Feb 17 2023 /usr/lib/x86_64-linux-gnu/libssl3.so -rw-r--r-- 1 root root 1231268 Feb 6 2023 /usr/lib/x86_64-linux-gnu/libssl.a lrwxrwxrwx 1 root root 11 Feb 6 2023 /usr/lib/x86_64-linux-gnu/libssl.so -> libssl.so.3 -rw-r--r-- 1 root root 598104 Feb 6 2023 /usr/lib/x86_64-linux-gnu/libssl.so.1.1 -rw-r--r-- 1 root root 667864 Feb 6 2023 /usr/lib/x86_64-linux-gnu/libssl.so.3
my libssl.so is linked to libssl.so.3. Maybe try to upgrade your Ubuntu. I have the old version as well. If you can not get the new version with Ubuntu upgrade, try to install openssl with Qt installation tool. There you can install openssl 3.0.
@JoeCFD said in first build on Linux: OpenSSL issue:
Maybe try to upgrade your Ubuntu.
I'm currently running 22.04. I think I must have messed this up with one of my apt installs. That's why I was asking about uninstalling the old version. Removing openssl completely appears to be rather intrusive:
he following packages will be REMOVED: apport apport-gtk apturl awscli bluez-cups ca-certificates cups cups-browsed cups-core-drivers cups-daemon gnome-control-center gnome-online-accounts google-chrome-stable hplip liblwp-protocol-https-perl libnet-dbus-perl libwww-perl libxml-parser-perl libxml-twig-perl nautilus-share openssl printer-driver-hpcups printer-driver-splix python3-apport python3-botocore python3-certifi python3-cupshelpers python3-httplib2 python3-launchpadlib python3-lazr.restfulclient python3-macaroonbakery python3-requests python3-requests-unixsocket python3-s3transfer snapd software-properties-common software-properties-gtk ssl-cert system-config-printer system-config-printer-common system-config-printer-udev ubuntu-desktop ubuntu-desktop-minimal ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk update-manager update-manager-core update-notifier update-notifier-common xorg xserver-xorg 0 upgraded, 0 newly installed, 51 to remove and 25 not upgraded. After this operation, 590 MB disk space will be freed.
So I don't want to do that.
-
@JoeCFD said in first build on Linux: OpenSSL issue:
Maybe try to upgrade your Ubuntu.
I'm currently running 22.04. I think I must have messed this up with one of my apt installs. That's why I was asking about uninstalling the old version. Removing openssl completely appears to be rather intrusive:
he following packages will be REMOVED: apport apport-gtk apturl awscli bluez-cups ca-certificates cups cups-browsed cups-core-drivers cups-daemon gnome-control-center gnome-online-accounts google-chrome-stable hplip liblwp-protocol-https-perl libnet-dbus-perl libwww-perl libxml-parser-perl libxml-twig-perl nautilus-share openssl printer-driver-hpcups printer-driver-splix python3-apport python3-botocore python3-certifi python3-cupshelpers python3-httplib2 python3-launchpadlib python3-lazr.restfulclient python3-macaroonbakery python3-requests python3-requests-unixsocket python3-s3transfer snapd software-properties-common software-properties-gtk ssl-cert system-config-printer system-config-printer-common system-config-printer-udev ubuntu-desktop ubuntu-desktop-minimal ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk update-manager update-manager-core update-notifier update-notifier-common xorg xserver-xorg 0 upgraded, 0 newly installed, 51 to remove and 25 not upgraded. After this operation, 590 MB disk space will be freed.
So I don't want to do that.
-
@mzimmers Understand. It is weird that you can not upgrade libssl. The latest version in 22.04 is 3.0.2.
What is the output?
apt list opensslmzimmers@LinuxBoxZimmers:/usr/lib/x86_64-linux-gnu$ sudo apt list openssl Listing... Done openssl/focal-updates,focal-security,now 1.1.1f-1ubuntu2.20 amd64 [installed] openssl/focal-updates,focal-security 1.1.1f-1ubuntu2.20 i386 mzimmers@LinuxBoxZimmers:/usr/lib/x86_64-linux-gnu$
-
mzimmers@LinuxBoxZimmers:/usr/lib/x86_64-linux-gnu$ sudo apt list openssl Listing... Done openssl/focal-updates,focal-security,now 1.1.1f-1ubuntu2.20 amd64 [installed] openssl/focal-updates,focal-security 1.1.1f-1ubuntu2.20 i386 mzimmers@LinuxBoxZimmers:/usr/lib/x86_64-linux-gnu$
-
@mzimmers said in first build on Linux: OpenSSL issue:
focal
sudo is not needed. Focal is 20.04, not 22.04. Are you sure you installed 22.04? Could be the case that libssl 1.1 points to focal.
-
M mzimmers has marked this topic as solved on