[Bug with fix] Linux demo on Gentoo AMD64

Problems with the Linux version of Darwinia

Moderators: jelco, bert_the_turtle, Chris, andy, John

Creideiki
level0
Posts: 2
Joined: Sat Mar 19, 2005 10:48 am

[Bug with fix] Linux demo on Gentoo AMD64

Postby Creideiki » Sat Mar 19, 2005 11:04 am

Since my CD is still in the mail, I thought I'd try the Linux demo. However, there's a bug in the launcher shell script ("<install-path>/darwinia").

The script sets

Code: Select all

export LD_LIBRARY_PATH="$here/lib"

which overwrites the user's LD_LIBRARY_PATH settings. This is bad on e.g. Gentoo Linux on AMD64, where you need to set

Code: Select all

export LD_LIBRARY_PATH="/emul/linux/x86/usr/lib/opengl/xorg-x11/lib"

to be able to run 32-bit OpenGL programs.

The script should respect the user's settings by using

Code: Select all

export LD_LIBRARY_PATH="$here/lib:$LD_LIBRARY_PATH"

instead.

Other than that, it works fine. Thanks for making a great game, and for thinking about us Linux gamers!
User avatar
John
Introversion Staff
Introversion Staff
Posts: 509
Joined: Sun Dec 10, 2000 6:22 pm
Location: London, UK

Postby John » Sat Mar 19, 2005 5:23 pm

Thanks, should be fixed now.

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 2 guests