uth
2006-07-20, 08:33 PM PDT
Anybody successfully get Simcity 3000 running on FC5?
I know about setting LD_ASSUME_KERNEL=2.2.5 However, after I do this, it complains about not finding libdl.so.2
I tried to make a link to /usr/lib/libdb.so calling it libdl.so.2, but it didn't seem to find that. Do I need to install some compatibility package maybe?
uth
2006-07-20, 08:34 PM PDT
Just to be clear, this is the Loki version, not the Windows version under wine. I've gotten all my Loki games to run except for that one.
uth
2006-07-28, 06:17 PM PDT
I eventually figured it out.
It's apparantly completely incompatible with the latest glibc and other libraries, so to get it to work, you need to copy libs from a system that it works on.
What I did was create a directory named loki_compat and copied the libs that it complaned about from my RH9 system to that directory. The minimum set of libraries is:
ld-linux.so.2
libc.so.6
libdl.so.2
libm.so.6
libpthread.so.0
libX11.so.6
libXext.so.6
Next, create a shell script that uses this directory. I named mine sc3u-compat.sh and put it in the simcity directory. Here are the contents:
[FONT=Courier New]
COMPAT=/opt2/games/loki_compat/
export LD_LIBRARY_PATH=$COMPAT
LD_ASSUME_KERNEL=2.2.5 $COMPAT/ld-linux.so.2 /opt2/games/SC3U/sc3u
[/FONT]
Make that script executable "chmod +x sc3u-compat.sh", and when I run it, I can play Simcity 3000! You should be able to create menu or desktop shortcuts that point to that script if you desire.
I haven't played it at length so I don't know if it's completely stable, What I tried so far worked great.
Hopefully this will help someone else.
cschalle
2006-08-02, 03:09 AM PDT
Trying to do the exact same thing, but when I try to run the binary I get:
Inconsistency detected by ld.so: dynamic-link.h: 62: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!
Any suggestions?
uth
2006-08-06, 07:29 AM PDT
I did see that message at one point. Where did you get your libraries? I found some loki compatibility libraries at a Gentoo site that were supposed to be for addressing this problem, but they didn't work on my system. When I copied the libraries from my old RH9 system, it worked.
bob
2006-08-06, 07:53 AM PDT
(moved to Gamers Lounge)
cschalle
2006-08-07, 02:13 AM PDT
[QUOTE=uth]I did see that message at one point. Where did you get your libraries? I found some loki compatibility libraries at a Gentoo site that were supposed to be for addressing this problem, but they didn't work on my system. When I copied the libraries from my old RH9 system, it worked.[/QUOTE]
I am using those Gentoo libraries so that is probably my problem. Would you mind making your RH9 libs available somewhere?
cschalle
2006-08-09, 01:34 AM PDT
Ok, got the files from Uth and they work fine. For those attempting this at a later stage I put the needed files that works with FC5 here - http://www.linuxrising.org/files/lokicompat.tar.bz2
uth
2006-08-09, 08:19 AM PDT
Great! Thanks for hosting those.
urbanhawk
2006-12-07, 11:46 AM PST
SimCity 3000 worked for me fine through fc2, fc3 without those files. sc3u-2.0a-x86.run and LD_ASSUME_KERNEL=2.2.5 was enough to make the game work. But on fc4 and now on fc5 the game starts, intro and music are ok. But after first click, music from the main manu is playing and the screen goes black. I can move the white mouse pointer on the black screen and listen to the music and turn the game off. The console output is:
fcntl: Invalid argument
fcntl: Invalid argument
MESSAGE:
BUG! (Segmentation Fault) Going down hard...
SimCity 3000 Unlimited 2.0.955a
Built with glibc-2.1 on x86
Stack dump:
{
0xe304f8
0x4603c52
0x8c9342
0x91c7e0
0x814a685
0x8358123
0x8358da0
0x8359253
0x8153291
0xe1d917
0x8144ca1
}
Please send a full bug report,
along with the contents of autosave to: support@lokigames.com
Unable to execute loki_qagent - exiting
I used your files lokicompat.tar.bz2 in fc5 -without them I was geting
error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
parupeneus
2007-01-11, 01:32 PM PST
[QUOTE=uth]Great! Thanks for hosting those.[/QUOTE]
Thanks for the good proposal. For me, it worked well with Suse 10.1. But since children always are critical test persons, my daughter found out that SC3U sometimes hangs if the pretitle sequence is stopped with <CR>. A solution was to start the game by
COMPAT=/opt2/games/loki_compat/
export LD_LIBRARY_PATH=$COMPAT
LD_ASSUME_KERNEL=2.2.5 $COMPAT/ld-linux.so.2 /opt2/games/SC3U/sc3u <&-
The only change to the proposal from uth is the "<&-".
Hope anybody can benefit from this.
Duli
2007-12-13, 03:36 PM PST
Hi, anyone successfull with this game on f8?
The screen goes black, I hear the music, but then it stops and I get this:
fcntl: Operation not permitted
fcntl: Operation not permitted
X Error: BadMatch
Request Major code 140 (XVideo)
Request Minor code 19 ()
Error Serial #19
Current Serial #20
tks!