General support questions
-
Alvo31
- Posts: 4
- Joined: 2018/05/12 20:50:10
Post
by Alvo31 » 2018/05/12 20:56:25
Hi,
I have a problem when I try to start my server garry's mod here is the error I get
Code: Select all
"/ srcds_linux: error while loading shared libraries: /usr/lib/libstdc+.so.6: file too short
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with this problem
Sat May 12 22:50:42 CEST 2018: Server restart in 10 seconds
"
Why ?
I am under CentOS 6.9
Thanks for your help
.
-
avij
- Retired Moderator
- Posts: 3046
- Joined: 2010/12/01 19:25:52
- Location: Helsinki, Finland
-
Contact:
Post
by avij » 2018/05/12 21:12:52
What do you get with ls -l /usr/lib/libstdc++.so.* and rpm -V libstdc++.i686 ?
-
Alvo31
- Posts: 4
- Joined: 2018/05/12 20:50:10
Post
by Alvo31 » 2018/05/12 21:17:27
Code: Select all
[root@srv1 ~]# ls -l /usr/lib/libstdc++.so.*
lrwxrwxrwx 1 root root 19 May 12 19:55 /usr/lib/libstdc++.so.6 -> libstdc++.so.6.0.13
-rwxr-xr-x 1 root root 0 May 12 22:30 /usr/lib/libstdc++.so.6.0.13
Code: Select all
[root@srv1 ~]# rpm -V libstdc++.i686
S.5....T. /usr/lib/libstdc++.so.6.0.13
-
avij
- Retired Moderator
- Posts: 3046
- Joined: 2010/12/01 19:25:52
- Location: Helsinki, Finland
-
Contact:
Post
by avij » 2018/05/12 21:24:34
A zero-byte file is indeed fairly short.. See if yum reinstall libstdc++.i686 helps.
-
Alvo31
- Posts: 4
- Joined: 2018/05/12 20:50:10
Post
by Alvo31 » 2018/05/12 21:29:00
Thank you, but now I have another mistake
Code: Select all
Failed to open dedicated_srv.so (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by bin/dedicated_srv.so))
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sat May 12 23:27:31 CEST 2018: Server restart in 10 seconds.
-
avij
- Retired Moderator
- Posts: 3046
- Joined: 2010/12/01 19:25:52
- Location: Helsinki, Finland
-
Contact:
Post
by avij » 2018/05/12 21:35:13
Yes, CentOS 6.9's libstdc++ is only up to GLIBCXX_3.4.13. You would need to run this in CentOS 7, if that software is not available for CentOS 6.
-
Alvo31
- Posts: 4
- Joined: 2018/05/12 20:50:10
Post
by Alvo31 » 2018/05/12 21:48:32
You know if GLIBCXX_3.4.15 is available on centos 6? because I really need centos 6 to run other applications
-
avij
- Retired Moderator
- Posts: 3046
- Joined: 2010/12/01 19:25:52
- Location: Helsinki, Finland
-
Contact:
Post
by avij » 2018/05/13 05:42:41
No, you would need something newer than CentOS 6. Perhaps you could run CentOS 7 on a different machine, perhaps in a virtual machine on that CentOS 6 server.