Shared Libraries error when trying to install game server
Hello, I'm trying to install a game server for a game called Cube on my RedHat 7.3 server. However, when I try to run the binary i get:
./linux_server: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory However, when I ls /usr/lib/ i find the following files among them. libstdc++-libc6.1-1.so.2 libstdc++-libc6.2-2.a.3 libstdc++-libc6.2-2.so.3 libstdc++.so.2.7.2 libstdc++.so.2.7.2.8 libstdc++.so.2.8 libstdc++.so.2.8.0 libstdc++.so.2.9 libstdc++.so.2.9.dummy libstdc++.so.5 |
Hello,
so what's the output of: Code:
ldd ./linux_server What you can try to solve this is to set LD_LIBRARY_PATH variable to: Code:
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib/ |
Don't worry about it, I've fixed it.
|
All times are GMT -5. The time now is 01:45 PM. |