04-26-2024 02:54 PM - edited 04-26-2024 03:00 PM
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.
04-27-2024 12:24 AM
- Seems like a software incompatibility problem between the secure-vpn and the upgraded ubuntu , look into latest version of secure-vpn (e.g.)
M.
04-28-2024 05:28 PM
How did you fix it? did you download the newer VPN client or change the required libraries?
04-28-2024 05:37 PM
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
04-28-2024 07:00 PM
Hi,
Try using OpenConnect
OpenConnect is a native vpn client in Ubuntu that is compatible with a number vpn servers
Thanks
John
04-29-2024 05:19 AM
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.
05-06-2024 08:48 AM
@stsargen please provide a workaround instead of just saying it is unsupported, that is not helpful
openconnect doesnt work with SSO
05-30-2024 12:25 AM
@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
Select "Multi-protocol VPN client (openconnect)"
Then fill in the form as such, specifying the User Agent as "AnyConnect Linux_64 4.7.00136" :
And click "Apply"
After that, connecting to the VPN will show :
Clicking on "Login" will open your SSO login window.
06-03-2024 12:34 AM
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.
06-05-2024 12:52 AM - edited 06-05-2024 12:53 AM
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 ?
06-05-2024 02:47 AM
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!
06-10-2024 10:04 PM
This worked like a charm for me... Thanks so much!
08-15-2024 05:17 PM
Thanks, this is what finally worked.
Do you happen to know how I can do this with an equivalent to a --no-cert option? my VPN server's certificate expired but I still want to try to log in.
08-27-2024 12:16 PM
Sorry, don't know how to do that. Maybe look into the network manager open connect documentation ?
05-07-2024 12:02 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide