View Full Version : how to start ut2004 demo on linux? I get an error message.....
10-03-2005, 12:15 AM
well, first off, I'm a total linux noob. I installed mandrake 10.2 on a pc cobbled together out of some spare parts because i wanted to see how ut2004 demo plays on a pc running linux in comparison to my mac on osx 10.3.9 . So i managed to install the demo, but when i try to start it by typing in the konsole, I get this :
[user1@localhost ~]$ ./ut2004
./ut2004-bin: error while loading shared libraries: libstdc++.so.5: cannot openshared object file: No such file or directory
what does that mean? what else should i try?
thanks for any help!
btw, my specs are 192mb ram, amd tbird 1.4 ghz, geforce fx5200 64mb
10-05-2005, 02:51 PM
Howdy. "libstdc++.so.5" is something that comes with GCC (the C compiler) if memory serves. What this error means is that you either have a newer version of GCC than this was compiled with or an older one.
Try running "gcc-config -l" and see what it says for library versions.
You should have a libstdc++.so.* in /usr/lib/[arch]/[gcc-version] but it probably is not the expected version is all. If your GCC is older, you may have to upgrade it to work with this binary. If your GCC is newer you can probably just soft link the library you have to the version above. There is also a way to alias the files but I forget how to off the top of my head.
Try a Google search for "libstdc++.so" and you will no doubt come across more stuff along those lines.
As to performance, I don't run Windows so can't say but the UT2004 demo runs silky smooth with the default settings on my Asus A7V333 with an Nvidia 6200 AGP card.
Or doesn't have GCC at all...
10-05-2005, 08:23 PM
Seems EXTREMELY unlikely. . .I can't see a Linux distro not including GCC or at the least not including its libraries since they are going to be needed by pretty much everything on the system.
No, it's most likely he just has a different version of GCC (or libraries) and / or the fact that it is a Red Hat (ick) based distro he using means that the libraries are all in non-default, arbitrary locations so can't be found by ut2004. Worst case he should be able to kludge it by linking the libstd* that he has to the one that ut2004 wants.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.