| View previous topic :: View next topic |
| Author |
Message |
Iron_DragonLord Apprentice

Joined: 04 Nov 2004 Posts: 273
|
Posted: Wed Oct 19, 2005 5:38 am Post subject: SMAC: Alpha Centauri Multiplayer crashes |
|
|
I've got SMAC installed from portage, the most recent version (6.0a as of now I think) and it runs fine. But when I click Multiplayer and then Internet game, it instantly crashes with the following:
| Code: | smac: dynamic-link.h:57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed.
BUG! Exception triggered, cleaning up.
Sid Meier's Alpha Centauri 6.0a
Built with glibc-2.1 on x86
Please send the text of the failed assertion,
along with the contents of autosave to: support@lokigames.com
Unable to execute loki_qagent - exiting
|
I tried the forums, and google. The topics here mention some methods for getting the game running, but they don't apply to portage it would seem, since portage install the Loki_Compatibility libs.. I'd guess my problem is the game isn't properly using them. I don't know. My friend got it working though... |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Wed Oct 19, 2005 10:49 am Post subject: |
|
|
| Strange. Now, that you mention it, I'm getting the same error on my new amd64 (game is running in a 32bit chroot). Works fine on my old laptop, though. |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Wed Oct 19, 2005 11:29 am Post subject: |
|
|
Quick fix: Change /usr/games/bin/smac to read
| Code: | #!/bin/sh
cd "/opt/smac"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:"
exec ./smac "$@" |
Similar for /usr/games/bin/smacx. |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
|
| Back to top |
|
 |
Iron_DragonLord Apprentice

Joined: 04 Nov 2004 Posts: 273
|
Posted: Wed Oct 19, 2005 9:57 pm Post subject: |
|
|
| UncleOwen wrote: | Quick fix: Change /usr/games/bin/smac to read
| Code: | #!/bin/sh
cd "/opt/smac"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:"
exec ./smac "$@" |
Similar for /usr/games/bin/smacx. |
Awesome! Thanks a ton.
I tried searching bugzilla, but my search skills are horrible. I got no results searching for "smac" or "alpha centauri".
Anyway, now I can play with a friend, whoo! |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Wed Oct 19, 2005 10:00 pm Post subject: |
|
|
| Iron_DragonLord wrote: | | I tried searching bugzilla, but my search skills are horrible. I got no results searching for "smac" or "alpha centauri". |
That's because I posted the bug _after_ reading your post  |
|
| Back to top |
|
 |
wolf31o2 Retired Dev


Joined: 31 Jan 2003 Posts: 628 Location: Mountain View, CA
|
Posted: Thu Oct 20, 2005 4:38 pm Post subject: |
|
|
I'll look at this tonight. The main thing that is puzzling to me is how it worked before the eutils.eclass change was made. Anyway, some thorough investigation will reveal all!  _________________ Ex-Gentoo Developer
Catalyst/Genkernel Development Lead
http://wolf31o2.org |
|
| Back to top |
|
 |
UncleOwen Veteran

Joined: 27 Feb 2003 Posts: 1493 Location: Germany, Hamburg
|
Posted: Thu Oct 20, 2005 4:56 pm Post subject: |
|
|
The old version would set
LD_LIBRARY_PATH=:
which seems to be an alias for
LD_LIBRARY_PATH=.
Strange... |
|
| Back to top |
|
 |
|