cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8892
Views
7
Helpful
18
Replies

Updated to Ubuntu 24.04. I am not able to use Secure-VPN anymore

rorororo
Level 1
Level 1

Hi, as the title says, I am unable to connect to my Cisco Secure VPN after updating my OS from Ubuntu 22.02 to 24.04. The error I receive is

"You are missing the required libraries for the authentication method you requested."

Upon closer inspection, this is the actual error:

"/opt/cisco/secureclient/bin/acwebhelper: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
/opt/cisco/secureclient/bin/acwebhelper: error while loading shared libraries: libsoup-2.4.so.1: cannot open shared object file: No such file or directory"

I have attempted to install "libwebkit2gtk-4.0.so.37" but I am unable because this runs on "libsoup-2.4.so.1" and this new version uses "libsoup-3.0-0:amd64".

I have also attempted having both libsoup versions, which allows me to install "libwebkit2gtk-4.0.so.37". Unfortunately, this results in another error:

"libsoup-ERROR **: 17:02:57.257: libsoup2 symbols detected. Using libsoup2 and libsoup3 in the same process is not supported."

 

I'm unsure of what I can do next, any suggestions would be greatly appreciated.

 

 

Error fixed, please disregard.

18 Replies 18

marce1000
VIP
VIP

 

 - Seems like a software incompatibility problem between the secure-vpn and the upgraded ubuntu , look into latest version of secure-vpn (e.g.)

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

dracusds123
Level 1
Level 1

How did you fix it? did you download the newer VPN client or change the required libraries?

 

amertaprima
Level 1
Level 1

It seems like the issue stems from a compatibility problem between the Cisco Secure VPN client and the newer versions of the libraries in Ubuntu 24.04. Here's a step-by-step solution you can try:

1. Check for Updates: Ensure that you have the latest version of the Cisco Secure VPN client that is compatible with Ubuntu 24.04. Sometimes, newer versions of software include fixes for compatibility issues with updated libraries.

2. Library Compatibility: Since the error message indicates a missing library (`libwebkit2gtk-4.0.so.37` and `libsoup-2.4.so.1`), you can try creating symbolic links to the corresponding libraries in Ubuntu 24.04:

```bash
sudo ln -s /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37 /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.36
sudo ln -s /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1 /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.0
```

This creates symbolic links from the required libraries to the versions available on your system. This may trick the Cisco Secure VPN client into using the newer libraries while maintaining compatibility.

3. Fallback to Previous Versions: If creating symbolic links doesn't work, you might need to consider downgrading the libraries to versions that are compatible with the Cisco Secure VPN client. You can search for and download the older versions of `libwebkit2gtk-4.0` and `libsoup-2.4` manually and install them.

4. Contact Cisco Support: If none of the above solutions work, reach out to Cisco support for assistance. They might have specific recommendations or patches to address compatibility issues with newer Ubuntu versions.

5. Consider Alternatives: If the Cisco Secure VPN client continues to pose compatibility problems, consider using alternative VPN solutions that are known to work well with Ubuntu 24.04.

Always remember to backup important files and configurations before making significant changes to your system. Additionally, be cautious when installing or modifying system libraries to avoid unintended consequences. 
Harga U Ditch 

johnd2310
Level 8
Level 8

Hi,

Try using OpenConnect

OpenConnect is a native vpn client in Ubuntu that is compatible with a number vpn servers

Thanks

John

**Please rate posts you find helpful**

stsargen
Cisco Employee
Cisco Employee
Please see the release notes for 5.1.3...

Cisco Secure Client 5.1.3.62 New Features

This release includes the following features and support updates, and resolves the defects described in Cisco Secure Client 5.1.3.62.

  • macOS 11 is no longer supported.

  • This 5.1.3.62 release will not support Ubuntu 24.04 LTS.

destro226
Level 1
Level 1

@stsargen please provide a workaround instead of just saying it is unsupported, that is not helpful

openconnect doesnt work with SSO


@destro226 wrote:

openconnect doesnt work with SSO


Actually it does now. You can install the network manager's openconnect gui like so:

sudo apt-get install network-manager-openconnect network-manager-openconnect-gnome

  Then in Ubuntu > Settings > Network > VPN > AddVPN

zaft_0-1717052962745.png

Select "Multi-protocol VPN client (openconnect)"

Then fill in the form as such, specifying the User Agent as "AnyConnect Linux_64 4.7.00136" :

zaft_1-1717053054144.png

And click "Apply"

After that, connecting to the VPN will show :

Screenshot from 2024-05-30 09-13-18.png

Clicking on "Login" will open your SSO login window.

Thanks - I wish this worked; but even though it connects ok, I can't see websites inside the private network. I still need to use the AnyConnect app for this. I guess there is some missing setting, but I can't figure it.

That's odd, I've had no issue on my side. Have your tried matching the User agent string to a more recent AnyConnect client version ? Like : AnyConnect Linux_64 4.10.08029 ? Maybe this is related to some specific setup for your company's VPN ?

Thanks. I've updated that User Agent, but still no joy. It connects, but same issue. It's odd, because it connects and I have vpn0 in `ip address` with an external ip address.

I think you're right on the org thing: when I connect using the GUI client, there is this additional dialog for acceptance of my org's IT policies - I'm guessing that somehow this isn't triggered using openconnect, and so something something = doesn't work, even though on network!

ccaprani_0-1717580335649.png

 

This worked like a charm for me... Thanks so much!

tom-saviour
Level 1
Level 1

Hey @stsargen,

Is there any timeline by which we can expect for the next release of AnyConnect. Would that release be supporing Ubuntu 24.04

I do not have a date for the next release, but I believe the fix is slated to go in the next release.

Same problem here.