OpenConnect 9.01 does not work under Ubuntu 20.04

Schütz Dominik Dominik.Schuetz at esolutions.de
Wed May 4 09:51:16 PDT 2022


Hi,

when i install "openconnect_9.01-0+9.1_amd64.deb" from "https://software.opensuse.org/download.html?project=home%3Abluca%3Aopenconnect%3Arelease&;package=openconnect"
it doesn't work, see text below:

dominik at host1:~$ ldd /usr/sbin/openconnect
/usr/sbin/openconnect: /lib/x86_64-linux-gnu/libopenconnect.so.5: version `OPENCONNECT_5_8' not found (required by /usr/sbin/openconnect)
/usr/sbin/openconnect: /lib/x86_64-linux-gnu/libopenconnect.so.5: version `OPENCONNECT_5_6' not found (required by /usr/sbin/openconnect)
/usr/sbin/openconnect: /lib/x86_64-linux-gnu/libopenconnect.so.5: version `OPENCONNECT_5_7' not found (required by /usr/sbin/openconnect)
	linux-vdso.so.1 (0x00007ffcb49b9000)
	libopenconnect.so.5 => /lib/x86_64-linux-gnu/libopenconnect.so.5 (0x00007ff85de80000)
	libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007ff85dcaa000)
	libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007ff85daf0000)
	libproxy.so.1 => /lib/x86_64-linux-gnu/libproxy.so.1 (0x00007ff85dace000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff85daab000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff85d8b9000)
	libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007ff85d8a1000)
	libtss2-esys.so.0 => /lib/x86_64-linux-gnu/libtss2-esys.so.0 (0x00007ff85d80e000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ff85d7f2000)
	libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007ff85d6bc000)
	libstoken.so.1 => /lib/x86_64-linux-gnu/libstoken.so.1 (0x00007ff85d4af000)
	libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007ff85d462000)
	libpcsclite.so.1 => /lib/x86_64-linux-gnu/libpcsclite.so.1 (0x00007ff85d453000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007ff85d432000)
	libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007ff85d411000)
	libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007ff85d28f000)
	libnettle.so.7 => /lib/x86_64-linux-gnu/libnettle.so.7 (0x00007ff85d255000)
	libhogweed.so.5 => /lib/x86_64-linux-gnu/libhogweed.so.5 (0x00007ff85d21e000)
	libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007ff85d198000)
	/lib64/ld-linux-x86-64.so.2 (0x00007ff85df02000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff85d192000)
	libicuuc.so.66 => /lib/x86_64-linux-gnu/libicuuc.so.66 (0x00007ff85cfac000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007ff85cf83000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff85ce34000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff85cc52000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff85cc35000)
	libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007ff85c95f000)
	libtss2-sys.so.0 => /lib/x86_64-linux-gnu/libtss2-sys.so.0 (0x00007ff85c93d000)
	libtss2-mu.so.0 => /lib/x86_64-linux-gnu/libtss2-mu.so.0 (0x00007ff85c8f6000)
	libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007ff85c8ea000)
	libtomcrypt.so.1 => /lib/x86_64-linux-gnu/libtomcrypt.so.1 (0x00007ff85c809000)
	libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007ff85c72c000)
	libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007ff85c6fb000)
	libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007ff85c6f4000)
	libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007ff85c6e5000)
	libicudata.so.66 => /lib/x86_64-linux-gnu/libicudata.so.66 (0x00007ff85ac22000)
	libtommath.so.1 => /lib/x86_64-linux-gnu/libtommath.so.1 (0x00007ff85ac03000)
	libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007ff85abfc000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007ff85abe0000)
dominik at host1:~$

When i copy the "libopenconnect.so.5.6.0" from "libopenconnect5_8.10-2build1_amd64.deb" to "/lib/x86_64-linux-gnu/" and make the Symlink "ln -sf libopenconnect.so.5.6.0 /lib/x86_64-linux-gnu/libopenconnect.so.5".
Then it also does not work:
dominik at host1:~$ sudo ldconfig
dominik at host1:~$ 
dominik at host1:~$ ldd /usr/sbin/openconnect
/usr/sbin/openconnect: /lib/x86_64-linux-gnu/libopenconnect.so.5: version `OPENCONNECT_5_8' not found (required by /usr/sbin/openconnect)
/usr/sbin/openconnect: /lib/x86_64-linux-gnu/libopenconnect.so.5: version `OPENCONNECT_5_7' not found (required by /usr/sbin/openconnect)
	linux-vdso.so.1 (0x00007ffffecf4000)
	libopenconnect.so.5 => /lib/x86_64-linux-gnu/libopenconnect.so.5 (0x00007f226f5c3000)
	libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f226f3ed000)
	libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f226f233000)
	libproxy.so.1 => /lib/x86_64-linux-gnu/libproxy.so.1 (0x00007f226f211000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f226f1ee000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f226effc000)
	libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f226efe4000)
	libtss2-esys.so.0 => /lib/x86_64-linux-gnu/libtss2-esys.so.0 (0x00007f226ef51000)
	libtss2-mu.so.0 => /lib/x86_64-linux-gnu/libtss2-mu.so.0 (0x00007f226ef0a000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f226eeee000)
	libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f226edb8000)
	libstoken.so.1 => /lib/x86_64-linux-gnu/libstoken.so.1 (0x00007f226ebab000)
	libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f226eb5c000)
	libpcsclite.so.1 => /lib/x86_64-linux-gnu/libpcsclite.so.1 (0x00007f226eb4f000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f226eb2e000)
	libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f226eb0d000)
	libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f226e98b000)
	libnettle.so.7 => /lib/x86_64-linux-gnu/libnettle.so.7 (0x00007f226e951000)
	libhogweed.so.5 => /lib/x86_64-linux-gnu/libhogweed.so.5 (0x00007f226e918000)
	libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f226e894000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f226f649000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f226e88e000)
	libicuuc.so.66 => /lib/x86_64-linux-gnu/libicuuc.so.66 (0x00007f226e6a8000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f226e67f000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f226e530000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f226e34c000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f226e331000)
	libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f226e05b000)
	libtss2-sys.so.0 => /lib/x86_64-linux-gnu/libtss2-sys.so.0 (0x00007f226e039000)
	libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f226e02d000)
	libtomcrypt.so.1 => /lib/x86_64-linux-gnu/libtomcrypt.so.1 (0x00007f226df4c000)
	libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f226de6f000)
	libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f226de3e000)
	libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f226de37000)
	libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f226de28000)
	libicudata.so.66 => /lib/x86_64-linux-gnu/libicudata.so.66 (0x00007f226c365000)
	libtommath.so.1 => /lib/x86_64-linux-gnu/libtommath.so.1 (0x00007f226c346000)
	libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f226c33f000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f226c323000)
dominik at host1:~$

When i make the same with "libopenconnect.so.5.8.0" from "libopenconnect5 9.01-1" (https://launchpad.net/ubuntu/+source/openconnect/9.01-1/+build/23596572).
It also does not work:
dominik at host1:~$ sudo ldconfig
dominik at host1:~$ 
dominik at host1:~$ ldd /usr/sbin/openconnect
/usr/sbin/openconnect: /lib/x86_64-linux-gnu/libproxy.so.1: no version information available (required by /lib/x86_64-linux-gnu/libopenconnect.so.5)
/usr/sbin/openconnect: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /lib/x86_64-linux-gnu/libopenconnect.so.5)
	linux-vdso.so.1 (0x00007ffc92b0d000)
	libopenconnect.so.5 => /lib/x86_64-linux-gnu/libopenconnect.so.5 (0x00007f42388b0000)
	libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f42386da000)
	libxml2.so.2 => /lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f4238520000)
	libproxy.so.1 => /lib/x86_64-linux-gnu/libproxy.so.1 (0x00007f42384fe000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f42384db000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f42382e9000)
	libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f42382d1000)
	libtss2-esys.so.0 => /lib/x86_64-linux-gnu/libtss2-esys.so.0 (0x00007f423823e000)
	libtss2-mu.so.0 => /lib/x86_64-linux-gnu/libtss2-mu.so.0 (0x00007f42381f7000)
	libtss2-tctildr.so.0 => /lib/x86_64-linux-gnu/libtss2-tctildr.so.0 (0x00007f42381ee000)
	libhogweed.so.6 => not found
	libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f423816a000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f423814c000)
	libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f4238016000)
	libstoken.so.1 => /lib/x86_64-linux-gnu/libstoken.so.1 (0x00007f4237e09000)
	libpskc.so.0 => not found
	libgssapi_krb5.so.2 => /lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f4237dbc000)
	libpcsclite.so.1 => /lib/x86_64-linux-gnu/libpcsclite.so.1 (0x00007f4237daf000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f4237d8c000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4237c3d000)
	libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f4237c1c000)
	libunistring.so.2 => /lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f4237a9a000)
	libnettle.so.7 => /lib/x86_64-linux-gnu/libnettle.so.7 (0x00007f4237a60000)
	libhogweed.so.5 => /lib/x86_64-linux-gnu/libhogweed.so.5 (0x00007f4237a29000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f423895c000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4237a21000)
	libicuuc.so.66 => /lib/x86_64-linux-gnu/libicuuc.so.66 (0x00007f423783b000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f4237812000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4237630000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4237615000)
	libcrypto.so.1.1 => /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f423733d000)
	libtss2-sys.so.0 => /lib/x86_64-linux-gnu/libtss2-sys.so.0 (0x00007f423731b000)
	libffi.so.7 => /lib/x86_64-linux-gnu/libffi.so.7 (0x00007f423730f000)
	libtomcrypt.so.1 => /lib/x86_64-linux-gnu/libtomcrypt.so.1 (0x00007f4237230000)
	libkrb5.so.3 => /lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f4237153000)
	libk5crypto.so.3 => /lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f4237120000)
	libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f4237119000)
	libkrb5support.so.0 => /lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f423710a000)
	libicudata.so.66 => /lib/x86_64-linux-gnu/libicudata.so.66 (0x00007f4235649000)
	libtommath.so.1 => /lib/x86_64-linux-gnu/libtommath.so.1 (0x00007f423562a000)
	libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f4235621000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f4235605000)
dominik at host1:~$

With "libopenconnect.so.5.7.0" it also does not work. Because "libpskc.so.0" and "libhogweed.so.6" are not available for Ubuntu 20.04.

Is there something wrong with the build for Ubuntu 20.04?
On Ubuntu 22.04 it works without problems.

Regards,
Dominik
e.solutions GmbH 

Despag-Straße 4a, 85055 Ingolstadt,  

Phone +49845833321287
 
Dominik.Schuetz at esolutions.de
Please, find my mail encryption keys at: https://secmail.esolutions.de

Registered Office: 
e.solutions GmbH
Despag-Straße 4a, 85055 Ingolstadt, Germany  
Managing Directors Uwe Reder, Rainer Lange
Register Court Ingolstadt HRB 5221
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6003 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20220504/61d58394/attachment-0001.p7s>


More information about the openconnect-devel mailing list