|
|
Linux Technical issues under Linux platform |
|
Thread Tools | Display Modes |
05-30-2013, 05:35 AM | #1 |
Pledge
Join Date: Mar 2010
Posts: 44
|
Game (launcher) won't start after update
I ran the launcher (rolauncher), logged in, it updated itself, and then crashed trying to run the updated version with:
rolauncher: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./rolauncher) As a result, I can't run the launcher to update my system, or enter the game. I happened to have a backup just before the update, so I've tried this several times, after restoring the backup. It seems the build system was updated to use a very new version of gcc (>=4.6) and needs linkage to a shared library newer than my system has. Can't we build the launcher with the previous, more compatible gcc? or perhaps statically link this library to prevent the dynamic linkage issue? |
05-30-2013, 08:39 AM | #2 |
Initiate
Join Date: Nov 2009
Location: Leicester, UK
Posts: 174
|
Which distro are you using?
__________________
Haven - Ariana Hailsinger
Ra - Mitra Godsmacker Regnum Wiki Admin |
05-30-2013, 02:19 PM | #3 |
Pledge
Join Date: Oct 2012
Posts: 46
|
GCC 4.5.3 ... seems something like 2+ years old (released April 28, 2011). Not that it is that old, but it really looks like you will need newer GCC (look here, you just need to compile gcc libs and copy them where the linker will find them, you don't have to install whole GCC).
|
06-01-2013, 02:20 PM | #4 | |
Pledge
Join Date: Mar 2010
Posts: 44
|
Quote:
The error shown is from a Gentoo Linux system built in late June 2012. GCC 4.5.3 was the newest stable compiler at the time. Even as of 1 December 2012, the newest stable compiler was GCC 4.5.4, which also does not have the symbol. The GCC 4.6 series did not become stable in Gentoo until sometime after that. Based on my experience with GCC 4.6 and glibc multilib changes, Gentoo is prudent in late adoption of the GCC 4.6 series, as it was producing garbage instructions for some CPUs, amongst other possible problems. However, all of this completely misses the point. On Linux, if you want to distribute a portable game binary, you either statically compile the binary, or include your library versions with your distributions. NGD indeed *does* do this - if you look at rolauncher, it is statically compiled. The question is, how does a statically compiled binary end up producing a dynamic linkage error? And even if you are going to ship a dynamically linked binary, why use a compiler that requires distributions less than six months old? When rolauncher starts, it apparently does some checks and downloads and executes a binary at runtime that runs on your system. It is this runtime binary that has the linkage problems. This binary either needs to also be statically compiled, or built with a more compatible compiler. It is also possible that a different binary gets downloaded based on the system found, and perhaps rolauncher is "guessing" wrong for my system and downloading too new a binary. I've tried two systems now, one built late June 2012 and one December 2012 and rolauncher runs on neither. I'd appreciate a fix for this please. I've already posted a support ticket but, of course, no response. |
|
06-01-2013, 04:14 PM | #5 |
Pledge
Join Date: May 2013
Posts: 1
|
Game (launcher) won't start after update
I also have the same problem now,
yesterday my rolauncher updated itself and now i can't play, as i didn't have a backup of any kind.. I use linux Debian, and i suck with all the technical mumbo jumbo. Do i now have to reinstall regnum online, or is there another way for me to fix this? ( => a way that i understand :P ) |
06-01-2013, 04:39 PM | #6 | |
Pledge
Join Date: Oct 2012
Posts: 46
|
Quote:
I see your point about new GCC and stuff, but some distros out there keep their software up to day while having no releases (Arch Linux, Mint Debian Edition, ..), and even those which don't (Debian stable, ubuntu, ...) all have new GCC. Problem here is that if the developers do have newer (or up to date) distribution installed, they can't link it against old libraries easily and then they end up with that symbol required, while maybe it doesn't even depend on feature present only in that version (but stdc++ might actually have trouble, there could have been ABI breakage because of added C++11 features from 4.6 on). And if they actually use features from C++11 (2 years old standard), they can't really support old GCC. And ofcourse I would like to see old distros supported, so everyone can play without trouble (Haven doesn't need less people, its almost empty as is now), but if that is not possible, there is always a way for you to get newer gcc libs without touching your system, you can download either compiled or compile newer library yourself and just put it somewhere and put that dir to LD_LIBRARY_PATH, it should be used instead of system one. |
|
06-01-2013, 05:02 PM | #7 |
Legend
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
|
I'm rebuilding the game statically linking with libstdc++
Hang on.
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta! |
06-01-2013, 08:19 PM | #8 |
Legend
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
|
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta! |
06-02-2013, 01:00 AM | #9 |
Pledge
Join Date: Oct 2008
Posts: 1
|
I wish some of this helped me I have a similar problem. A few hours ago my regnum crashed then did an update. Now when i login and press the play button the game window opens up then instantly closes the game. I've been searching these forums and the gamesamba forums for a solution but there doesnt seem to be 1... Please help? I use Ubuntu 12.10
|
06-02-2013, 08:27 AM | #10 | |
Apprentice
Join Date: May 2013
Posts: 88
|
Quote:
__________________
Warjuice
|
|
|
|