yuezk / GlobalProtect-openconnect

A GlobalProtect VPN client for Linux, written in Rust, based on OpenConnect and Tauri, supports SSO with MFA, Yubikey, and client certificate authentication, etc.
GNU General Public License v3.0
1.29k stars 148 forks source link

Can not install on RHEL 9 #415

Open xoroz opened 2 weeks ago

xoroz commented 2 weeks ago

Describe the bug Unable to install rpm on RHEL 9.4

Expected behavior Install success

Logs

rpm -i globalprotect-openconnect-2.3.7-1.x86_64.rpm

error: Failed dependencies: (libayatana-appindicator or libappindicator-gtk3) is needed by globalprotect-openconnect-2.3.7-1.x86_64 libc.so.6(GLIBC_2.38)(64bit) is needed by globalprotect-openconnect-2.3.7-1.x86_64

Additional context I was able to get over libappindicator-gtk3, but not glibc2.38 issue even know file is there, but version is 2.34

glibc-2.34-100.el9_4.2.x86_64 : The GNU libc libraries Repo : rhel-9-for-x86_64-baseos-rpms Matched from: Filename : /lib64/libc.so.6

I believe this is easy to reproduce also on CENTOS 9.

any advice ?

yuezk commented 2 weeks ago

Hi @xoroz you may need to follow the steps here to install it because the rpm package is built on a relatively newer OS and requires a newer libc.

  1. Download globalprotect-openconnect_${version}_${arch}.bin.tar.xz from releases page.
  2. Extract the tarball with tar -xJf globalprotect-openconnect_${version}_${arch}.bin.tar.xz.
  3. Run sudo make install to install the client.