Pw Ktp schrieb (am 16.8.10 11:11):
> Robert Klemme wrote:

>> Did you try to create a symlink from libstdc++.so -> libstdc++.6.so (or
>> whatever your current version is named)?

> hi i have tried creating a simlink like this?
> 
> ln -s /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/libstdc++.so libstdc++6.so
> 
> but no luck. even with libstdc++5.so
> 
> how else can i tell rubygems that I have libstdc++ installed!?

I'd try to start out with a freshly installed system.

aptitude install build-essential

provides you with a compiler and amongst other things libstdc++ in
the correct version for your system (e.g. libstdc++6-4.3-dev).

http://packages.ubuntu.com/search?keywords=build-essential

Regards,
  Philipp