LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-23-2021, 01:34 AM   #1
bortolotto
LQ Newbie
 
Registered: Nov 2019
Location: Brazil
Distribution: Slackware64-current
Posts: 25

Rep: Reputation: 7
SSL Network Extender (SNX) not working on -current after GLIBC_233 and massive rebuild.


Hi buddies!
My name is Diniz Bortolotto. I'm a slackware64-current user.

Last weekend/sunday I took the leap of faith and did a slackpkg install-new && slackpkg upgrade-all going to the new glibc 2.33 and massive rebuilt.
Almost everything went well. I got in some moment a "GLIBC_233 not found" after 'install-new' but rebooted with a usb stick and did the usual correction for that. After that rebooted and it seemed that all was fine.

In this monday, when I was going to work (home-office), I discovered that the VPN client was not working. Unfortunately there was no way to make it runs and I had to work using a Win7/VBox

The message that appears when I run the 'snx' command is a not clear error "bash: /usr/bin/snx: No such file or directory".
Looking/googling for that I found that the problem should be dependencies but the official list of supported distros don't includes Slackware.

Has anyone here used SNX and could help me to identify what happended?
I created a open folder in GDrive and saved in it SNX installer, binary and a png with the 'official' distros and dependencies, in case someone wants to see that. [removed]

Best Regards!
 
Old 02-24-2021, 10:39 AM   #2
ardya
Member
 
Registered: Mar 2006
Distribution: Slackware since 1997
Posts: 89

Rep: Reputation: 18
Are you trying to run a 32 bit binary on a 64 bit OS without supporting 32 bit supporting libraries?
 
Old 02-24-2021, 04:57 PM   #3
bortolotto
LQ Newbie
 
Registered: Nov 2019
Location: Brazil
Distribution: Slackware64-current
Posts: 25

Original Poster
Rep: Reputation: 7
Thumbs up

Quote:
Originally Posted by ardya View Post
Are you trying to run a 32 bit binary on a 64 bit OS without supporting 32 bit supporting libraries?
You are in the right path ardya.

I'm running Slackware64 + multilib. Definitively there is a 32bit library problem.
But, as my link to GDrive was not allowed I will try to write below more info.
 
Old 02-24-2021, 05:15 PM   #4
bortolotto
LQ Newbie
 
Registered: Nov 2019
Location: Brazil
Distribution: Slackware64-current
Posts: 25

Original Poster
Rep: Reputation: 7
SNX (CheckPoint) supported Linux Platforms (uploaded a png).
In summary, on 64-bit distributions we need.
  • Ubuntu
    • libpam0g:i386
    • libx11-6:i386
    • libstdc++6:i386
    • libstdc++5:i386
    • libnss3-tools (certutil)
  • openSUSE
    • pam-32bit
    • pam-modules-32bit
    • compat-libstdc++.i586
  • Fedora
    • xterm.x86_64 (with libXaw.86_64 dependency)
    • elf_utils-libelf.i686
    • libX11.i686
    • libaudit.so.1
    • libcrack.so.2
    • libdb-5.3.so
    • libselinux.so.1
    • libpam.so.0
    • libstdc++.so.5
Attached Thumbnails
Click image for larger version

Name:	snx_dependencies.png
Views:	171
Size:	59.6 KB
ID:	35711  
 
Old 02-24-2021, 05:20 PM   #5
bortolotto
LQ Newbie
 
Registered: Nov 2019
Location: Brazil
Distribution: Slackware64-current
Posts: 25

Original Poster
Rep: Reputation: 7
I have installed in my desktop ALL compat32 packages supplied by AlienBOB.
Someone have some clue on how to trace/identify the failing package/library?

Like I said, before last massive upgrade/rebuilds the snx client was running well.
So I suspect of something wrong with new packages rebuilt with GLIBC 2.33
 
Old 02-24-2021, 06:00 PM   #6
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
A Slackware64 install with the proper multilib libraries should cover most, if not all of those requirements.

Usually when you see "No such file or directory" when the file does exist, it is because multilib isn't installed properly. At a minimum, to support running 32bit binaries, you need to have at least the following packages installed:

Code:
aaa_glibc-solibs-2.33_multilib-x86_64-1alien.txz
glibc-2.33_multilib-x86_64-1alien.txz
glibc-i18n-2.33_multilib-x86_64-1alien.txz
glibc-profile-2.33_multilib-x86_64-1alien.txz
Compiling requires these packages:

Code:
gcc-10.2.0_multilib-x86_64-4alien.txz
gcc-brig-10.2.0_multilib-x86_64-4alien.txz
gcc-g++-10.2.0_multilib-x86_64-4alien.txz
gcc-gdc-10.2.0_multilib-x86_64-4alien.txz
gcc-gfortran-10.2.0_multilib-x86_64-4alien.txz
gcc-gnat-10.2.0_multilib-x86_64-4alien.txz
gcc-go-10.2.0_multilib-x86_64-4alien.txz
gcc-objc-10.2.0_multilib-x86_64-4alien.txz
And then support for libraries are provided by the various compat32 packages. My guess is your glibc multilib packages are screwed up. Can you provide the output of the following?

Code:
ls /var/lib/pkgtools/packages/*glibc*
ls /var/lib/pkgtools/packages/*multilib*
 
1 members found this post helpful.
Old 02-24-2021, 06:12 PM   #7
bortolotto
LQ Newbie
 
Registered: Nov 2019
Location: Brazil
Distribution: Slackware64-current
Posts: 25

Original Poster
Rep: Reputation: 7
Thumbs up

Quote:
Originally Posted by bassmadrigal View Post
A Slackware64 install with the proper multilib libraries should cover most, if not all of those requirements.

Usually when you see "No such file or directory" when the file does exist, it is because multilib isn't installed properly. At a minimum, to support running 32bit binaries, you need to have at least the following packages installed:

Code:
aaa_glibc-solibs-2.33_multilib-x86_64-1alien.txz
glibc-2.33_multilib-x86_64-1alien.txz
glibc-i18n-2.33_multilib-x86_64-1alien.txz
glibc-profile-2.33_multilib-x86_64-1alien.txz

...
Can you provide the output of the following?

Code:
ls /var/lib/pkgtools/packages/*glibc*
ls /var/lib/pkgtools/packages/*multilib*
Thanks a lot for your reply bassmadrigal!

I couldn't find multilib for glibc-solibs and glibc-2.33. That's weird!
I will investigate and try to figure out what happened.

Below are my packages.
Code:
root@darkstar:~# ls /var/lib/pkgtools/packages/*glibc*
/var/lib/pkgtools/packages/aaa_glibc-solibs-2.33-x86_64-1
/var/lib/pkgtools/packages/glibc-2.33-x86_64-1
/var/lib/pkgtools/packages/glibc-i18n-2.33_multilib-x86_64-1alien
/var/lib/pkgtools/packages/glibc-profile-2.33_multilib-x86_64-1alien
/var/lib/pkgtools/packages/glibc-zoneinfo-2021a-noarch-1

root@darkstar:~# ls /var/lib/pkgtools/packages/*multilib*
/var/lib/pkgtools/packages/gcc-10.2.0_multilib-x86_64-4alien
/var/lib/pkgtools/packages/gcc-brig-10.2.0_multilib-x86_64-4alien
/var/lib/pkgtools/packages/gcc-g++-10.2.0_multilib-x86_64-4alien
/var/lib/pkgtools/packages/gcc-gdc-10.2.0_multilib-x86_64-4alien
/var/lib/pkgtools/packages/gcc-gfortran-10.2.0_multilib-x86_64-4alien
/var/lib/pkgtools/packages/gcc-gnat-10.2.0_multilib-x86_64-4alien
/var/lib/pkgtools/packages/gcc-go-10.2.0_multilib-x86_64-4alien
/var/lib/pkgtools/packages/gcc-objc-10.2.0_multilib-x86_64-4alien
/var/lib/pkgtools/packages/glibc-i18n-2.33_multilib-x86_64-1alien
/var/lib/pkgtools/packages/glibc-profile-2.33_multilib-x86_64-1alien
/var/lib/pkgtools/packages/nvidia-driver-460.32.03_multilib-x86_64-1_SBo
 
Old 02-24-2021, 06:47 PM   #8
bortolotto
LQ Newbie
 
Registered: Nov 2019
Location: Brazil
Distribution: Slackware64-current
Posts: 25

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by bortolotto View Post
Thanks a lot for your reply bassmadrigal!

I couldn't find multilib for glibc-solibs and glibc-2.33. That's weird!
I will investigate and try to figure out what happened.
Now it's better.
Code:
root@darkstar:~# ls -1 /var/lib/pkgtools/packages/*glibc*
/var/lib/pkgtools/packages/aaa_glibc-solibs-2.33_multilib-x86_64-1alien
/var/lib/pkgtools/packages/glibc-2.33_multilib-x86_64-1alien
/var/lib/pkgtools/packages/glibc-i18n-2.33_multilib-x86_64-1alien
/var/lib/pkgtools/packages/glibc-profile-2.33_multilib-x86_64-1alien
/var/lib/pkgtools/packages/glibc-zoneinfo-2021a-noarch-1
I figured out what maybe happened.
When I got those annoying messages about GLIBC_2.33 not found, I booted and reinstalled glibc packages from my usb drive. But the original ones not the multilib.
 
Old 02-24-2021, 07:31 PM   #9
bortolotto
LQ Newbie
 
Registered: Nov 2019
Location: Brazil
Distribution: Slackware64-current
Posts: 25

Original Poster
Rep: Reputation: 7
Smile Almost there... and 'voila'!

Ok. That is already working now!
Again: Thanks a lot for your reply bassmadrigal!
Sometimes we just need a friend's help to easily solve a problem.

I will explain below what I did just for reference to another buddies.

Now that I upgraded glibc and glibc-solibs to multilib version i'm getting this:
Code:
root@darkstar:~# snx
snx: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Ok. That's a easy one.

libstdc++.so.5 last location before rebuilds was:
Code:
/var/lib/pkgtools/removed_packages/aaa_elflibs-compat32-15.0-x86_64-29compat32:usr/lib/libstdc++.so.5.0.7
and
Code:
Mon Feb  8 05:13:26 UTC 2021
a/aaa_elflibs-15.0-x86_64-30.txz:  Removed.
  Renamed to aaa_libraries.
a/aaa_libraries-15.0-x86_64-1.txz:  Added.
So I looked and get the corresponding and new compat32 package and installed it.
Code:
root@darkstar:/mnt/SlackMirror# installpkg multilib-current/slackware64-compat32/a-compat32/aaa_libraries-compat32-15.0-x86_64-2compat32.txz
and TA-dah
Code:
diniz@darkstar:~$ /usr/bin/snx -s xxx.yyy.com.br -c /home/diniz/Fnnnnnn.p12 
Check Point's Linux SNX
build 800007075
Please enter the certificate's password:

SNX authentication: ******
SNX - connected.

Last edited by bortolotto; 02-24-2021 at 07:37 PM. Reason: removed job/work info on snx command
 
1 members found this post helpful.
Old 02-24-2021, 11:10 PM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Glad you got it working! Sometimes a little nudge is all we need to figure it out
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Check Point SNX (Linux VPN client) GabiAPF Linux - Networking 14 11-25-2022 03:12 PM
Not able to connect VPN with SNX AJorgeSC Linux - Networking 2 10-05-2020 02:24 PM
snx VPN installation script: SEC_ERROR_LEGACY_DATABASE: The certificate/key database is in an old, unsupported format. centguy CentOS 1 03-30-2019 10:34 AM
"Network Manager" will not update using Yum Extender. What must I do? andrewf8 Linux - Software 6 06-11-2016 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration