Hi Sawyer, I'm running Ubuntu 18.04.5 (5.4.0-60-generic kernel) and a QEMU 5.1.0 build for x86_64. I originally built for all targets including arm and aarch64 but it took too long. I haven't seen this problem.
Good luck! Dave Here's my configure line ../../../configure --prefix=/opt/qemu \ --target-list=x86_64-softmmu \ --enable-debug \ --enable-spice \ --enable-virtfs \ --enable-curses \ --enable-libusb And here's a view of all my libssh package versions: linger:229$ DPKG=libssh apt.sh pkg_brief brief DPKG = libssh Listing... Done libssh-4/bionic-updates,bionic-security,now 0.8.0~20170825.94fa1e38-1ubuntu0.7 amd64 [installed] libssh-4/bionic 0.8.0~20170825.94fa1e38-1build1 amd64 libssh-dev/bionic-updates,bionic-security 0.8.0~20170825.94fa1e38-1ubuntu0.7 amd64 libssh-dev/bionic 0.8.0~20170825.94fa1e38-1build1 amd64 libssh-doc/bionic-updates,bionic-updates,bionic-security,bionic-security 0.8.0~20170825.94fa1e38-1ubuntu0.7 all libssh-doc/bionic,bionic 0.8.0~20170825.94fa1e38-1build1 all libssh-gcrypt-4/bionic-updates,bionic-security,now 0.8.0~20170825.94fa1e38-1ubuntu0.7 amd64 [installed,automatic] libssh-gcrypt-4/bionic 0.8.0~20170825.94fa1e38-1build1 amd64 libssh-gcrypt-dev/bionic-updates,bionic-security 0.8.0~20170825.94fa1e38-1ubuntu0.7 amd64 libssh-gcrypt-dev/bionic 0.8.0~20170825.94fa1e38-1build1 amd64 libssh2-1/bionic,now 1.8.0-1 amd64 [installed,automatic] libssh2-1-dbg/bionic 1.8.0-1 amd64 libssh2-1-dev/bionic 1.8.0-1 amd64 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=======================-================-================-=================================================== ii libssh-4:amd64 0.8.0~20170825.9 amd64 tiny C SSH library (OpenSSL flavor) ii libssh-gcrypt-4:amd64 0.8.0~20170825.9 amd64 tiny C SSH library (gcrypt flavor) ii libssh2-1:amd64 1.8.0-1 amd64 SSH2 client-side library ----------------- snip snip ----------- Date: Fri, 22 Jan 2021 21:12:04 +1100 From: "Berto Furth" <bertofu...@sent.com> To: "Sawyer Liu" <sawyer....@nxp.com>, "qemu-discuss@nongnu.org" <qemu-discuss@nongnu.org> Subject: Re: [EXT] Re: Bugs in SSH module Message-ID: <1a348279-65f9-4506-8087-1e0b71b65...@www.fastmail.com> Content-Type: text/plain; charset="utf-8" Hi Sawyer, Oh yes, sorry it is libssl-dev. What version do you have installed? According to the link you sent, there's a reference to a problem with some older versions of libssl included with ubuntu libssh-0.8 is detected as 0.7 https://bugs.launchpad.net/ubuntu/+source/libssh/+bug/1847514 The version I am using is #apt list libssh-dev Listing... Done libssh-dev/stable,now 0.8.7-1+deb10u1 amd64 [installed] As I said it seems to compile with libssl enabled just fine. I assume you've done "apt update" and "apt upgrade" and all that? Other than making sure you're using a recent version of libssl-dev I don't know what else to suggest.