Forums » Linux

update.rlb: error while loading shared libraries: libstdc++.so.6: cannot handle TLS data

Nov 03, 2008 i-swordsman link
I get this error in Slackware:

update.rlb: error while loading shared libraries: libstdc++.so.6: cannot handle TLS data

Vendetta used to work ages ago.... then I lost my graphic card, and now that I have a new one, everything else is working, but vendetta.
Nov 04, 2008 Puciek link
Well do you have libstdc++.so.6 on your system ? Try to find it using:
updatedb
locate libstdc++.so.6

If none found, then you must download and compile it, then put it into right place so it will be loaded.
Altho if you got it on your system, try running just this time vendetta from root level access, and if this will fix the problem, you will have to work on your settings.
Nov 04, 2008 mr_spuck link
What version of slackware do you use and which graphics card driver?

I'm using slackware current and an ati card with fglrx driver. The game works fine.
Nov 04, 2008 i-swordsman link
Hey.... thx for the replies.... more details:

1- I do have the libstdc++.so.6
2- As root I get the same problem
3- I use slack 10.2 with 2.6.17.13 kernel, and I have a Nvidia 6200 video card

I used to play vendetta last year and it was ok... Now it satrts, sees if the version is tha last one, and the problem appears whem I click PLAY

I tryed to install a newer version of the library, the 6.09, but it was worse... it couldnn't even start, and other programs, like BitTorrent stoped working, so I came back to the old one and now things are the same... could this be some kind of problem with python?
Nov 04, 2008 mr_spuck link
Yeah ..just plopping in another version of that library is a bad idea.

You could try to start the game with "LD_ASSUME_KERNEL=2.4.19 vendetta" that was often needed to get stuff working around the time when distros enabled tls.
Details here: http://people.redhat.com/drepper/assumekernel.html

The nvidia driver installer also has the --force-tls option. I think I had some success by playing around with that with my old nvidia card.

Here's the help text:

--force-tls=FORCE-TLS
NVIDIA's OpenGL libraries are compiled with one of two
different thread local storage (TLS) mechanisms: 'classic
tls' which is used on systems with glibc 2.2 or older, and
'new tls' which is used on systems with tls-enabled glibc
2.3 or newer. nvidia-installer will select the OpenGL
libraries appropriate for your system; however, you may use
this option to force the installer to install one library
type or another. Valid values for FORCE-TLS are 'new' and
'classic'.

Theoretically "new" would be the correct option for you...
Nov 04, 2008 i-swordsman link
I just tried with LD_ASSUME_KERNEL=2.4.19 vendetta but I got the same error message... :-(

I will see what I can do with the driver.... thx again