LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SSL Network Extender (SNX) not working on -current after GLIBC_233 and massive rebuild. (https://www.linuxquestions.org/questions/slackware-14/ssl-network-extender-snx-not-working-on-current-after-glibc_233-and-massive-rebuild-4175690991/)

bortolotto 02-23-2021 01:34 AM

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 :eek:

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!

ardya 02-24-2021 10:39 AM

Are you trying to run a 32 bit binary on a 64 bit OS without supporting 32 bit supporting libraries?

bortolotto 02-24-2021 04:57 PM

Quote:

Originally Posted by ardya (Post 6224091)
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.

bortolotto 02-24-2021 05:15 PM

1 Attachment(s)
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

bortolotto 02-24-2021 05:20 PM

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

bassmadrigal 02-24-2021 06:00 PM

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*


bortolotto 02-24-2021 06:12 PM

Quote:

Originally Posted by bassmadrigal (Post 6224223)
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


bortolotto 02-24-2021 06:47 PM

Quote:

Originally Posted by bortolotto (Post 6224228)
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. :doh:

bortolotto 02-24-2021 07:31 PM

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. :hattip:

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

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.


bassmadrigal 02-24-2021 11:10 PM

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


All times are GMT -5. The time now is 02:58 AM.