Update Linux installation for Ubuntu oracular 24.10
Hello,
I am a new student at the HPC Master and received instructions to connect to the CESGA cluster. What was sent was this page: https://cesga-docs.gitlab.io/ft3-user-guide/how_to_connect.html#installation-and-configuration-of-checkpoint-on-linux
On Ubuntu 24.10 oracular the CESGA instructions didn't quite work, one dependency failed with apt:
$ sudo apt install libaudit1:i386 libbsd0:i386 libc6:i386 libcap-ng0:i386 libgcc-s1:i386 libpam0g:i386 libstdc++5:i386 libx11-6:i386 libxau6:i386 libxcb1:i386 libxdmcp6:i386
Error: Unable to locate package libstdc++5:i386
All others packages could be installed without problems.
Running the next command in the documentation also didn't work, as the file was not executable:
$ sudo ./snx -s secure.cesga.es -u bruno
sudo: ./snx: command not found
I tried using libstdc++6:i386 to solve the missing library, and symlinking the library, sudo ln -s /lib/i386-linux-gnu/libstdc++.so.6.0.33 /lib/i386-linux-gnu/libstdc++.so.5, but I think there were breaking changes between the versions as some symbols were not found.
sudo ./snx -s secure.cesga.es -u bruno
./snx: /lib/i386-linux-gnu/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by ./snx)
./snx: /lib/i386-linux-gnu/libstdc++.so.5: version `CXXABI_1.2' not found (required by ./snx)
But installing from Debian bookworm worked for me.
$ wget http://ftp.es.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.6-34_i386.deb
$ sudo dpkg -i libstdc++5_3.3.6-34_i386.deb
Selecting previously unselected package libstdc++5:i386.
(Reading database ... 493042 files and directories currently installed.)
Preparing to unpack libstdc++5_3.3.6-34_i386.deb ...
Unpacking libstdc++5:i386 (1:3.3.6-34) ...
Setting up libstdc++5:i386 (1:3.3.6-34) ...
Processing triggers for libc-bin (2.40-1ubuntu3.1) ...
Now, connecting apparently worked. I still don't have the credentials as the professor asked us to request them via email/DM after Monday, September the 8th.
$ sudo ./snx -s secure.cesga.es -u bruno
Check Point's Linux SNX
build 800010003
Please enter your password:
But maybe other students with newer versions of Ubuntu/other distros may have similar problem (I think in long term snx will have to be updated... but I am not familiar with that tool).
Thanks for the great docs! I'll spend some time this weekend reading the rest, but what I saw was very clear. And kudos for making it available here on GitLab so that I could send this issue
Cheers Bruno