[ut2004] ./ut2004-bin: error while loading shared libraries: libstdc++.so.5
Ryan C. Gordon
icculus at clutteredmind.org
Sun Jun 19 03:03:57 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.
1) It's LGPL, so static linking isn't an option.
2) Statically linking any part of glibc or libgcc is asking for trouble,
as we've found in the past, and it doesn't guarantee binary
compatibility anyhow, since parts of these libraries want to dlopen()
and otherwise link against other system libraries and behave badly when
they can't find what they want.
You can put this on older systems:
Unpack that somewhere that the dynamic loader can find it without
overwriting your existing system libraries, and you should be able to
use this on older systems that don't have a better package.
And be sure to remember that breaking binary compatibility is a crappy
thing to do even in a totally open source world; everyone needs to stop
viewing that as the application developer's bug and start putting blame
where it belongs.
More information about the ut2004