Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
edsqjr
Explorer

SNX install script workaround in Ubuntu 24

Hello, everyone.
 
Here's a fix for an SNX client installation issue on Ubuntu 24.04.
 
The installer couldn't find libstdc++6. It searches /usr/lib/, but on 64-bit Ubuntu, the library is elsewhere. This path mismatch breaks the installation, but the browser window raises no warnings.
 

I created a symbolic link using:

sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.33 /usr/lib/libstdc++.so.6

This workaround links the expected path to the actual library location.

 

Details:

- OS release: Ubuntu Desktop "24.04.2 LTS (Noble Numbat)"

- Related library: libstdc++6 (GNU Standard C++ Library v3)

- Library paths (mostly symbolic; the last one is the actual path):

/usr/libx32/libstdc++.so.6.0.33
/usr/lib/i386-linux-gnu/libstdc++.so.6.0.33
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.33
/usr/lib32/libstdc++.so.6.0.33
/usr/x86_64-linux-gnu/lib/libstdc++.so.6.0.33

- Pattern mismatch:

/usr/lib/libstdc++*

- Code snippet from the failing snx_install.sh script (line 63):

# link the stdc++ library
STDCPLUSPLUS=`ls /usr/lib/libstdc++* | grep so | head -n 1` > /dev/null 2>&1
if [ "${STDCPLUSPLUS}" != "" ]
then
        COMMAND_TO_RUN="ln -sf ${STDCPLUSPLUS} /usr/lib/libcpc++-libc6.1-2.so.3; ${COMMAND_TO_RUN}"
fi

 

Solution:

1. Create the symbolic link:

sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/libstdc++.so.6

2. Run the installer:

sudo bash snx_install.sh

 

Notes:

- This script contains a binary blob at the end, so I don't recommend editing it unless you know the ropes.

- Your actual library location may vary, but the path should be similar - double-check before linking.

0 Kudos
1 Reply
_Val_
Admin
Admin

Nice!

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events