snx: error while loading shared libraries:

by Daniel Pham
Published: Updated:

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

This is an error I encountered when installing Check Point VPN client on Linux Mint 19. This article, I will show you how to fix this error.

First, I have successfully installed Check Point VPN client on Linux Mint 18 and have no problems.

Recommended Reading: How to install Check Point VPN client in Linux

The error “/usr/bin/cshell/launcher: not found”

When I did the same on Mint 19, when I installed cshell, I encountered an error like the following.

root@linux:~/Desktop# bash
Start Check Point Mobile Access Portal Agent installation
Extracting Mobile Access Portal Agent... Done
Installing Mobile Access Portal Agent... Done
Installing certificate... Done
Starting Mobile Access Portal Agent... /bin/sh: 1: /usr/bin/cshell/launcher: not found

I listed the cshell folder and found the launcher file in it, which is absurd.

root@linux:~/Desktop# ls -al /usr/bin/cshell/
total 1652
drwxr-xr-x 4 danie danie    4096 Aug 13 22:05 .
drwxr-xr-x 3 root  root    65536 Aug  9 20:09 ..
drwxr-xr-x 2 danie danie    4096 Aug 13 22:05 cert
-rwxr-xr-x 1 danie danie 1588827 May 21  2018 CShell.jar
-rw-r--r-- 1 danie danie    8230 May 21  2018
-rwx--x--x 1 danie danie    7415 May 21  2018 launcher
drwxr-xr-x 2 danie danie    4096 Aug 13 22:05 tmp

I think that the launcher file is an executable file and probably calls a dependency file and it can’t be found.

For the time being, I don’t know which file is missing.

The error “snx: error while loading shared libraries:”

fix "snx: error while loading shared libraries:"
Fix “snx: error while loading shared libraries:”.

Next, I installed the snx package and encountered the following error.

root@linux:~/Desktop# bash 
Installation successfull
snx: error while loading shared libraries: cannot open shared object file: No such file or directory

At this point, I know I have a missing file.

To be sure, I use the following command to check if snx is missing any files. And just like the error message, it is missing

root@linux:~/Desktop# ldd $(which snx) (0xf7f57000) => not found => /lib/i386-linux-gnu/ (0xf7f16000) => /lib/i386-linux-gnu/ (0xf7efe000) => /lib/i386-linux-gnu/ (0xf7ef9000) => /lib/i386-linux-gnu/ (0xf7ee9000) => /lib/i386-linux-gnu/ (0xf7ece000) => /usr/lib/i386-linux-gnu/ (0xf7e0f000) => /lib/i386-linux-gnu/ (0xf7c33000)
	/lib/ (0xf7f59000) => /lib/i386-linux-gnu/ (0xf7c09000) => /lib/i386-linux-gnu/ (0xf7b07000) => /lib/i386-linux-gnu/ (0xf7ae7000) => /lib/i386-linux-gnu/ (0xf7ae1000)

I checked my computer has installed this package or not and it was amazing that it was already installed.

root@linux:~/Desktop# apt-get install libx11-6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libx11-6 is already the newest version (2:1.6.4-3ubuntu0.2).

But looking back at the installation steps, I realized that Check Point VPN client on Linux runs 32 bit. And I just checked the 64 bit package, this is probably my omission.

Fix “snx: error while loading shared libraries:”

And here, I try to solve the problem by installing the package libx11-6:i386 with the following command.

apt-get install libx11-6:i386 -y

After the installation is complete, I try to run the snx command and it’s great, it’s out of error.

root@linux:~/Desktop# snx
failed to open file: /root/.snxrc
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

Next, I ran the cshell launcher file and it was great, it worked without any errors.

root@linux:~/Desktop# /usr/bin/cshell/launcher
LAUNCHER> Starting CShell...
LAUNCHER> CShell Started


With each step of the tutorial in this article, I hope you can fix the error with Check Point VPN client on your Linux machine.

(This is an article from my old blog that has been inactive for a long time, I don’t want to throw it away so I will keep it and hope it helps someone).

0 0 votes
Article Rating

You may also like

Notify of
1 Comment
Oldest Most Voted
Inline Feedbacks
View all comments
Selçuk Karakayalı
Selçuk Karakayalı
4 years ago

Your posts on snx vpn helped me a lot, thanks

DevOps Lite is a personal blog specializing in technology with main topics about DevOps, DevSecOps, SRE and System Administrator. Articles are shared for free and contributed to the community.



Subscribe my Newsletter for new blog posts. Stay updated from your inbox!

© 2021-2024 – All rights reserved.

Please write sources “” when using articles from this website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Would love your thoughts, please comment.x

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.