openvpn does not find `GNUTLS_3_6_9'

Bug #2025596 reported by Karl Kastner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openvpn (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After upgrade to Ubuntu 22.04.2 LTS Jammy, openvpn stopped working with the error message:

openconnect: /usr/local/lib/libp11-kit.so.0: no version information available (required by /lib/x86_64-linux-gnu/libopenconnect.so.5)
openconnect: /usr/local/lib/libgnutls.so.30: version `GNUTLS_3_6_9' not found (required by /lib/x86_64-linux-gnu/libopenconnect.so.5)
openconnect: /usr/local/lib/libgnutls.so.30: version `GNUTLS_3_6_0' not found (required by /lib/x86_64-linux-gnu/libopenconnect.so.5)

Can neither be resolved by reinstalling gnutls nor openvpn.

Installed is

dpkg -la | grep gnutls30
ii libgnutls30:amd64 3.7.3-4ubuntu1.2 amd64 GNU TLS library - main runtime library
ii libgnutls30:i386 3.7.3-4ubuntu1.2 i386 GNU TLS library - main runtime library

But this only contains older versions of gnutls

strings /usr/local/lib/libgnutls.so.30 | grep GNUTLS_3
GNUTLS_3_4

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report but /usr/local is not a directory used by Ubuntu package but reserved for local installation so it seems the problem is that installed some software there which aren't compatible with the system versions anymore. You should probably try to clean those /usr/local copies. Closing since that's not an Ubuntu bug but a local installation problem

Changed in openvpn (Ubuntu):
status: New → Invalid
Revision history for this message
Karl Kastner (kastner-karl) wrote :

Thanks for the hint. The current versions of libgnutls indeed reside in /usr/lib/x86_64-linux-gnu/libgnutls.so.30 and /usr/lib/i386-linux-gnu/libgnutls.so.30. After removing the spurious /usr/lib/libgnutls.so.30 and /usr/local/lib/libgnutls.so.30 which seem to have resided there since 2018 it works flawlessly again.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Great, thanks for the update!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.