View previous topic :: View next topic |
Author |
Message |
gralves Guru
Joined: 20 May 2003 Posts: 389 Location: Sao Paulo, Brazil
|
Posted: Sat Oct 09, 2004 7:26 am Post subject: Solved problem with loki games (Sim City) & NPTL |
|
|
It is possible to remain using nptl and run simcity 3000. You just have to use 2 different glibc versions (one compiled with and one without it). The good news is that the last glibc ebuild (2.3.4-20041006) takes care of it for you.
WARNING: It is -* masked, I'm not responsible if emerging it break your system.
echo =sys-libs/glibc-2.3.4.20041006 -* >>/etc/portage/packages.keywords
emerge -av glibc (make sure you have -nptlonly)
(Wait a long time)
LD_ASSUME_KERNEL=2.4.1 sc3u
-----
edit: corrected typo on glibc version. Valeu Vanq!
Last edited by gralves on Sun Oct 10, 2004 1:59 am; edited 1 time in total |
|
Back to top |
|
|
Vanquirius Retired Dev
Joined: 14 Jun 2002 Posts: 1297 Location: Ethereal plains
|
Posted: Sat Oct 09, 2004 9:11 pm Post subject: |
|
|
Thanks a lot, this did the trick for me.
One small note, I believe it is glibc-2.3.4.20041006 instead of glibc-2.3.4-20041006.
Cheers,
Vanq _________________ Hello. |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Sun Oct 10, 2004 9:52 am Post subject: |
|
|
Fro me using that glibc version broke compiling qt. Perhaps you just try to (re)emerge qt. |
|
Back to top |
|
|
gralves Guru
Joined: 20 May 2003 Posts: 389 Location: Sao Paulo, Brazil
|
Posted: Sun Oct 10, 2004 3:56 pm Post subject: |
|
|
I don't use qt, but if this ebuild broke the compiling of qt you should post a bug report at bugs.gentoo.org . |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Sun Oct 10, 2004 4:22 pm Post subject: |
|
|
Well, they would want more info, and I haven't written down the error, so I really don't want to recompile glibc and qt just for this... |
|
Back to top |
|
|
Dr Gonzo Apprentice
Joined: 31 Jan 2004 Posts: 276 Location: Austin, TX
|
Posted: Thu Dec 16, 2004 5:55 am Post subject: |
|
|
I'm confused, is it with, or without nptlonly? I have nptlonly and nptl enabled, as nptlonly wouldn't work without the other. I think I also had a problem with nptl by itself. Maybe I'll just put it on my laptop... _________________ "Families is where our nation finds hope, where wings take dream."
George W. Bush |
|
Back to top |
|
|
Admiral LSD Guru
Joined: 27 Jun 2003 Posts: 522 Location: Northam, W.A., Australia
|
Posted: Thu Dec 16, 2004 6:32 am Post subject: |
|
|
As I understand it, nptl builds NPTL support into glibc and other packages that support it (which last I checked was limited to Wine and more recently OpenOffice) while nptlonly prevents it from building the linuxthreads fallback version. In other words, you need to compile glibc without nptlonly for this to work. This has the unfortunate side effect of building glibc, one of the most drawn out compiles in the entire system, to effectively be built twice. _________________ Wasurenaide...
...watashi ga iru koto o.
Itsudatte soba ni iru yo.
Registered Linux user #319839 |
|
Back to top |
|
|
Dr Gonzo Apprentice
Joined: 31 Jan 2004 Posts: 276 Location: Austin, TX
|
Posted: Thu Dec 16, 2004 6:56 am Post subject: |
|
|
Well, I have some other software that's not going to work without the glibc I have now. I don't think I can really get this working correctly unless I reinstall. I think I'm going to have to do that soon... Sheeh. _________________ "Families is where our nation finds hope, where wings take dream."
George W. Bush |
|
Back to top |
|
|
servermonk Apprentice
Joined: 07 Nov 2003 Posts: 182 Location: MI
|
Posted: Thu Jan 13, 2005 3:54 am Post subject: still having issues, I need help! |
|
|
I just recompiled glibc (2.3.4.20041102) with -nptlonly in my USE flags and I'm still getting this when I run sc3u:
Code: | sc3u: relocation error: sc3u: symbol _dl_global_scope, version GLIBC_2.0 not defined in file ld-linux.so.2 with link time reference |
The loki updater fails as well with:
Code: | Verifying archive integrity...tail: `+6' option is obsolete; use `-n 6' since this will be removed in the future
OK
Uncompressing SimCity 3000 Unlimited 2.0a Updatetrap: usage: trap [-lp] [arg signal_spec ...] |
Same with downloading the sc3u-2.0a-x86.run file and running that. Anyone know what I migt try next? I was really hoping to actually get to PLAY this game _________________ Gentoo makes me wanna shoop. |
|
Back to top |
|
|
servermonk Apprentice
Joined: 07 Nov 2003 Posts: 182 Location: MI
|
Posted: Thu Jan 13, 2005 5:04 am Post subject: got it |
|
|
Here is what I had to to in order ot get the update to work:
From loki news group:
Quote: | open the sc3u-2.0a-x86.run file and simply remove everything
from start to "END_OF_STUB" and save it. The remaining file should start
with binary gibberish. The remaining file length should be 7,437,183
bytes. Rename sc3u-2.0a-x86.run to sc3u-2.0a-x86.run.tar.gz and you'll be
able to uncompress the update manually. Extract it run update.sh |
_________________ Gentoo makes me wanna shoop. |
|
Back to top |
|
|
ARC2300 Apprentice
Joined: 30 Mar 2003 Posts: 267
|
Posted: Tue Feb 22, 2005 1:34 am Post subject: |
|
|
After reading teh newsgroup for loki's SimCity, I found out that it will work with NPTL compiled into glibc without a problem.
new.lokigames.com wrote: | Zane Vandiver wrote:
>> Has anyone successfully installed and run SC3 on SUSE 9.1? I installed
>> without any apparent problems, but the game seg faults when I try to start
>> it.
>> Zane
RE
Ok i find the problem
Type :
export LD_ASSUME_KERNEL=2.4.1
sc3u
bye |
I put in the LD_ASSUME_KERNEL and it works just fine with the latest nVidia drivers and an nptl enabled glibc.
I'm so happy now. _________________ It's fun to take a trip
Put acid in your veins |
|
Back to top |
|
|
Koxta Retired Dev
Joined: 19 Mar 2004 Posts: 204 Location: Warszawa
|
Posted: Thu May 26, 2005 10:11 pm Post subject: |
|
|
I've tried everything to run SC3U on my gentoo box, but nothing worked. I still get:
Code: | koxta@hell koxta $ LD_ASSUME_KERNEL=2.2.5 sc3u
sc3u: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory |
I've recompiled glibc with +nptl -nptlonly, I've patched the game... and nothing...
Any Ideas?
Regards,
Jurek Bartuszek _________________ Willst du dich von etwas trennen
Dann musst du es verbrennen
Willst du es nie wiedersehen
Lass es schwimmen in Benzin! |
|
Back to top |
|
|
|