libstdc++.so.5 is missing from gcc-4.3.3_multilib-x86_64-4alien.txz
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
libstdc++.so.5 is missing from gcc-4.3.3_multilib-x86_64-4alien.txz
I play Neverwinter Nights and in order for the movies to play they require libstdc++.so.5, but only libstdc++.so.6 is included in gcc-4.3.3_multilib-x86_64-4alien.txz. I have looked at the slackbuild but cannot see what to do to get the earlier libraries. Does anyone know how to do this?
libstdc++.so.5 is provided by the 3.X.X versions of gcc. The 4.X.X versions of gcc provide libstdc++.so.6 as you have already discovered. You can install just the libstdc++.so.5 from earlier versions of gcc. Here is how I do it on my (non-Slackware) machine
Code:
tar xf gcc-3.3.6.tar.bz2 &&
mkdir gcc-build &&
cd gcc-build &&
../gcc-3.3.6/configure --prefix=/opt/gcc-3.3.6 \
--enable-threads=posix --enable-multilib \
--enable-shared --enable-languages=c,c++ &&
make bootstrap &&
cp -av $(gcc -dumpmachine)/libstdc++-v3/src/.libs/libstdc++.so.5* /usr/lib64
I play Neverwinter Nights and in order for the movies to play they require libstdc++.so.5, but only libstdc++.so.6 is included in gcc-4.3.3_multilib-x86_64-4alien.txz. I have looked at the slackbuild but cannot see what to do to get the earlier libraries. Does anyone know how to do this?
samac
Hi!
Perhaps it is enough to run convertpkg-compat32 on Slackware's 32bit cxxlibs package and install the resulting -compat32 package.
I will add cxxlibs to the list of packages in the massconvert32.sh script so that a -compat32 package will be created automatically from now on.
Perhaps it is enough to run convertpkg-compat32 on Slackware's 32bit cxxlibs package and install the resulting -compat32 package.
This resulted in a use-able libstdc++.so.5 in /usr/i486-slackware-linux/lib/, linking this to /usr/lib/ allowed the first movie to play, NWN then froze. So I guess my problem is fixed with regard to Slackware64 I will now try to fix the NWN problem.
This resulted in a use-able libstdc++.so.5 in /usr/i486-slackware-linux/lib/, linking this to /usr/lib/ allowed the first movie to play, NWN then froze. So I guess my problem is fixed with regard to Slackware64 I will now try to fix the NWN problem.
Thanks Eric.
samac
I've updated my compat32-tools package so that it will now properly deal with the libraries in the 32bit cxxlibs package. Your manual symlink creation should no longer be needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.