Checkpoint SNX client on Ubuntu
Checkpoint Network Extender VPN has an installer script for linux, but the client fails on newer linuxes such as OpenSUSE 11 and Ubuntu 8/9.
When trying to run the snx binary, you get "segmentation fault". This is because the libraries the snx binary is linked against are old and not present on newer linuxes. The library needed is
libstdc++-3-libc6.2-2-2.10.0.so from gcc 2.95
On Ubuntu versions < 8, you need to install the package libstdc++2.10-glibc2.2 with the command
sudo apt-get install libstdc++2.10-glibc2.2. With versions >= 8, the library is not available in the repository, so you need to extract it from the debian package:
wget -P /tmp -nd http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb
mkdir /tmp/glibc2.2
dpkg-deb --extract /tmp/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb /tmp/glibc2.2
sudo cp /tmp/glibc2.2/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib
rm -rf /tmp/glibc2.2
Notice the
i386 architecture of the downloaded package, this depends on your installation architecture.
On
OpenSUSE? this library can be installed with
sudo zypper in compat-2008 (OpenSUSE 11) or
zypper in compat-2006 for OpenSUSE 10.
I have patched the original installer to autodetect the distro and install the missing library for my convenience, the patched installer is attached.
--
AvishaiIshShalom - 19 Aug 2009