Monday 16 October 2017

linux - libstdc++.so.6: cannot handle TLS data

I have an application compiled
at:




  • gcc version 4.1.2
    20061115 (prerelease) (Debian 4.1.1-21)

  • Linux debian
    2.6.18-5-686 #1 SMP Fri Jun 1 00:47:00 UTC 2007 i686
    GNU/Linux



and it runs
well.




Now I want to run it
at:




  • Linux
    2.4.20_mvlcge31-tomas #7 Thu May 7 11:33:21 CEST 2009 i686
    unknown



I got following
errors:



libstdc++.so.6: cannot
handle TLS data




From
the web I saw someone suggested to do this: export
LD_ASSUME_KERNEL=2.2.5



I tried but
get even more errors:
ls: error while loading shared libraries:
librt.so.1: cannot open shared object file: No such file or
directory



Who can help me with
it? thanks

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...