LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Updating to glibc 2.4 (https://www.linuxquestions.org/questions/slackware-14/updating-to-glibc-2-4-a-510046/)

newio 12-13-2006 09:40 AM

Updating to glibc 2.4
 
Hey All,

I've got a game i want to play (Tribal Trouble, http://www.oddlabs.com/) which requires glibc 2.4 to play.

Having just spent a lot of time getting my Slack box to work exactly how i want it (btw, thankx to all the peeps on this forums for ur help!), i dont really want to do anything to break it.

Will upgrading the slack default glibc 2.3.6 to 2.4 break anything? Is it a very involved process, or can i just install a slack-build?

newio

willysr 12-13-2006 07:03 PM

hm.. i tried tribal trouble before (http://slackblogs.blogspot.com/2006/...altrouble.html) and i'm using the standard glibc in Slackware and it worked.

newio 12-13-2006 07:07 PM

well, in that case, any thoughts on the below error. The developer said i would have to rebuild the .so for glibc 2.3.5. He also said it is trying the 64bit library because the loading of the 32bit library failed (which i originally thought could be the problem).

Quote:

I've got a crash on start. Its says its after GLIBC_2.4, though the game only recommends 2.3. Any ideas (env flag to set or something?). Current glibc is 2.3.6

Im on a mostly default Slack11 install, with the 2.6.18.5 kernel. All other games work fine (ET, D3, Q4 etc).

Here's some logs i know you all like:
Code:

  pfowler@slack:~/games/tribaltrouble$ ./tribaltrouble
 LOADER: Starting from directory gamedata/data-1
 Starting game....
 ********** Running tt **********
 Could not read settings from /home/pfowler/games/tribaltrouble/settings
 Could not read settings from /home/pfowler/games/tribaltrouble/settings
 Writing log files in /home/pfowler/games/tribaltrouble/logs/1165931760788
 
pfowler@slack:~/games/tribaltrouble$ cat ./logs/1165931760788/std.err
 Failed to load 64 bit library:no lwjgl64 in java.library.path
 java.lang.UnsatisfiedLinkError: /home/pfowler/games/tribaltrouble/gamedata/data-1/ _
native/.svn/text-base/liblwjgl.so.svn-base: /lib/tls/libc.so.6: version `GLIBC_2.4' _
not found (required by /home/pfowler/games/tribaltrouble/gamedata/data-1/native/ _
.svn/text-base/liblwjgl.so.svn-base)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at org.lwjgl.Sys$1.run(Sys.java:75)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
        at org.lwjgl.Sys.loadLibrary(Sys.java:84)
        at org.lwjgl.Sys.<clinit>(Sys.java:101)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:108)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.lwjgl.input.Mouse.class$(Mouse.java:234)
        at org.lwjgl.input.Mouse$1.run(Mouse.java:234)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.input.Mouse.createImplementation(Mouse.java:232)
        at org.lwjgl.input.Cursor.getCapabilities(Cursor.java:147)
        at com.oddlabs.tt.gui.LocalInput.settings(LocalInput.java:451)
        at com.oddlabs.tt.render.Renderer.run(Renderer.java:564)
        at com.oddlabs.tt.render.Renderer.runGame(Renderer.java:174)
        at com.oddlabs.tt.Main.main(Main.java:42)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.oddlabs.loader.Loader.main(Loader.java:66)
 pfowler@slack:~/games/tribaltrouble$

std.out and event.log are 0 byte. Any and all help appreciated.

Oh, and the attempt to load a 64-bit library is weird...

gnashley 12-14-2006 07:17 AM

Upgrading to glibc-2.4 will almost surely bork your entire system. Why not just recompile the game instead as the developer suggested.


All times are GMT -5. The time now is 08:20 AM.