GlobalProtect-openconnect
GlobalProtect-openconnect copied to clipboard
Can not install on RHEL 9
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 ?
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.
- Download
globalprotect-openconnect_${version}_${arch}.bin.tar.xzfrom releases page. - Extract the tarball with
tar -xJf globalprotect-openconnect_${version}_${arch}.bin.tar.xz. - Run
sudo make installto install the client.
That worked but...
$ sudo make install
===> Installing...
install -Dm755 artifacts/usr/bin/gpclient /usr/bin/gpclient
install -Dm755 artifacts/usr/bin/gpservice /usr/bin/gpservice
install -Dm755 artifacts/usr/bin/gpauth /usr/bin/gpauth
install -Dm755 artifacts/usr/bin/gpgui-helper /usr/bin/gpgui-helper
if [ -f artifacts/usr/bin/gpgui ]; then \
install -Dm755 artifacts/usr/bin/gpgui /usr/bin/gpgui; \
fi
install -Dm644 artifacts/usr/share/applications/gpgui.desktop /usr/share/applications/gpgui.desktop
install -Dm644 artifacts/usr/share/icons/hicolor/scalable/apps/gpgui.svg /usr/share/icons/hicolor/scalable/apps/gpgui.svg
install -Dm644 artifacts/usr/share/icons/hicolor/32x32/apps/gpgui.png /usr/share/icons/hicolor/32x32/apps/gpgui.png
install -Dm644 artifacts/usr/share/icons/hicolor/128x128/apps/gpgui.png /usr/share/icons/hicolor/128x128/apps/gpgui.png
install -Dm644 artifacts/usr/share/icons/hicolor/256x256@2/apps/gpgui.png /usr/share/icons/hicolor/256x256@2/apps/gpgui.png
install -Dm644 artifacts/usr/share/polkit-1/actions/com.yuezk.gpgui.policy /usr/share/polkit-1/actions/com.yuezk.gpgui.policy
None of the commands execute because they are for the wrong CPU architecture
$ gpclient
bash: /usr/bin/gpclient: cannot execute binary file: Exec format error
$ gpclient launch-gui
bash: /usr/bin/gpclient: cannot execute binary file: Exec format error
I downloaded the x86_46 arch to match my CPU architecture
$ arch
x86_64
Edit: Ignore this. I downloaded the wrong tar.xz for my arch. It works great!
Thanks, I'm closing this.