How to install checkpoint snx (SSL Network Extender) – Deepin 15.4 desktop

How to install checkpoint snx (SSL Network Extender) in Deepin 15.4 desktop 64bits

Kernel version of Deepin

Linux test-ebook5 4.9.0-deepin5-amd64 #1 SMP PREEMPT Deepin 4.9.8-5 (2017-05-02) x86_64 GNU/Linux

After the installation of jdk_1.8.0_u112 (64bits), firefox 52 ESR, snx_install.sh (checkpoint).

java version “1.8.0_112”
Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)

Mozilla Firefox 52.1.2

The snx is not working with the following problem:

snx: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory

Debug for this problem:

sudo ldd /usr/bin/snx
linux-gate.so.1 (0xf7719000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf75a7000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf758a000)
libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xf7572000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf756d000)
libpam.so.0 => not found
libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf7552000)
 libstdc++.so.5 => not found
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf739b000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf736d000)
/lib/ld-linux.so.2 (0x565ea000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf7369000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf7362000)

Do this for fixing this problem:

sudo apt-get install libstdc++5:i386 libpam0g:i386

After the fix, check again:

sudo ldd /usr/bin/snx    
linux-gate.so.1 (0xf77e4000)
libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7672000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7655000)
libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xf763d000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7638000)
libpam.so.0 => /lib/i386-linux-gnu/libpam.so.0 (0xf7628000)
libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf760d000)
libstdc++.so.5 => /usr/lib/i386-linux-gnu/libstdc++.so.5 (0xf7553000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf739c000)
libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf736e000)
/lib/ld-linux.so.2 (0x5656c000)
libaudit.so.1 => /lib/i386-linux-gnu/libaudit.so.1 (0xf7345000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf72f0000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf72d2000)
libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf72ce000)
libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf72c7000)
libcap-ng.so.0 => /lib/i386-linux-gnu/libcap-ng.so.0 (0xf72c1000)

snx

Valid attributes are:
– server          SNX server to connet to
– sslport         The SNX SSL port (if not default)
– username        the user name
– certificate     certificate file to use
– calist          directory containing CA files
– reauth          enable automatic reauthentication. Valid values { yes, no }
– debug           enable debug output. Valid values { yes, 1-5 }
– cipher          encryption algorithm to use. Valid values { RC4 / 3DES }
– proxy_name      proxy hostname
– proxy_port      proxy port
– proxy_user      username for proxy authentication

Advertisements