[ut2004] ./ut2004-bin: error while loading shared libraries: libstdc++.so.5

Spike spike at spykes.net
Sun Jun 19 01:32:29 EDT 2005


This is also a pain in the butt when people insist on getting you to
setup UT2004 servers on old archaic debian stable based servers that
still use gcc2 where this library isn't available.

Maybe static'ing it could be the best option.


On Sun, 19 Jun 2005 00:42:17 -0400
"Ryan C. Gordon" <icculus at clutteredmind.org> wrote:

> 
> >>[skunk at Mars ~]$ ut2004
> >>./ut2004-bin: error while loading shared libraries: libstdc++.so.5:
> >>cannot open shared object file: No such file or directory
> >>[skunk at Mars ~]$
> >>
> >>
> >>Is that a known problem, or should i submit it to bugzilla?
> 
> GCC 3 added a requirement of this external C++ runtime, which lots of 
> systems at the time didn't include. Apparently new GCCs have moved to 
> yet another new runtime, and distros aren't shipping the older one 
> anymore by default...so ut2004 is looking for a library you don't have. 
> Apparently, you get a 6-12 month window with Linux distributions where 
> your binaries will work, otherwise they are too new or too old. That's 
> pretty annoying.
> 
> Try installing Fedora's compat-libstdc++ package, and it should fix this 
> issue.
> 
> --ryan.



More information about the ut2004 mailing list