Fix snx: error while loading shared libraries: libpam.so.0

Share this post to your friends !

SystemMen - How to fix snx: error while loading shared libraries: libpam.so.0? If you haven’t read my previous article on how to connect Check Point VPN on a Linux computer.

Chances are, you will encounter this error when installing Check Point VPN on your Linux computer.

Even myself, at the first time I installed Check Point VPN for my computer. I also faced this error

snx: error while loading shared libraries: libpam.so.0

First of all, I have to say that I am using the Linux Mint (Ubuntu base) operating system.

fix-snx-error-while-loading-shared-libraries-libpam-so-0 Fix snx: error while loading shared libraries: libpam.so.0
Fix snx: error while loading shared libraries: libpam.so.0

This error occurs when you install the snx_install.sh script on your computer. This script is required by Check Point to install on your computer.

# bash snx_install.sh 
Installation successfull
snx: error while loading shared libraries: libpam.so.0: cannot open shared object file: No such file or directory

So how to handle this error? Quite simply, it is because your computer is missing the dependency package that the script requires.

You only need to install the following command that the error will be fixed.

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

The whole installation looks like this.

# apt-get install libstdc++5:i386 libpam0g:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libstdc++5:i386 is already the newest version (1:3.3.6-28ubuntu1).
The following packages were automatically installed and are no longer required:
  qml-module-qtquick-controls qml-module-qtquick-dialogs
  qml-module-qtquick-layouts qml-module-qtquick-privatewidgets
  qml-module-qtquick-window2 qml-module-qtquick2
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  libpam-doc:i386
The following NEW packages will be installed:
  libaudit1:i386 libpam0g:i386
0 upgraded, 2 newly installed, 0 to remove and 24 not upgraded.
Need to get 95,2 kB of archives.
After this operation, 356 kB of additional disk space will be used.
Get:1 http://mirrors.nhanhoa.com/ubuntu xenial-updates/main i386 libaudit1 i386 1:2.4.5-1ubuntu2.1 [37,5 kB]
Get:2 http://mirrors.nhanhoa.com/ubuntu xenial-updates/main i386 libpam0g i386 1.1.8-3.2ubuntu2.1 [57,7 kB]
Fetched 95,2 kB in 0s (209 kB/s)         
Preconfiguring packages ...
Selecting previously unselected package libaudit1:i386.
(Reading database ... 404007 files and directories currently installed.)
Preparing to unpack .../libaudit1_1%3a2.4.5-1ubuntu2.1_i386.deb ...
Unpacking libaudit1:i386 (1:2.4.5-1ubuntu2.1) ...
Selecting previously unselected package libpam0g:i386.
Preparing to unpack .../libpam0g_1.1.8-3.2ubuntu2.1_i386.deb ...
Unpacking libpam0g:i386 (1.1.8-3.2ubuntu2.1) ...
Processing triggers for libc-bin (2.28-7) ...
Setting up libaudit1:i386 (1:2.4.5-1ubuntu2.1) ...
Setting up libpam0g:i386 (1.1.8-3.2ubuntu2.1) ...
Processing triggers for libc-bin (2.28-7) ...

Conclusion

Now try connecting to vpn again to see if it succeeded. If the error has not been fixed, it will happen that the snx information display window will close itself every time you enter the password. Hope you will solve it.

If you liked this article, then please subscribe to our YouTube Channel for more video tutorials. You can also find us on Twitter and Facebook.


Share this post to your friends !
If you appreciate what we share in this blog, you can support us by:
  1. Stay connected to: Facebook | Twitter | Google Plus | YouTube
  2. Subscribe email to recieve new posts from us: Sign up now.
  3. Start your own blog with SSD VPS - Free Let's Encrypt SSL ($2.5/month).
  4. Become a Supporter - Make a contribution via PayPal.
  5. Support us by purchasing Ribbon Lite Child theme being using on this website.

We are thankful for your support.

«« »»

Got something to say? Join the discussion

Please keep in mind that all comments are subject to our Comment Policy. Your email address will not be published.
This site uses Akismet to reduce spam. Learn how your comment data is processed.