[SOLVED] Enemy Territory: Quake Wars LUA error on slackware 64?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Enemy Territory: Quake Wars LUA error on slackware 64?
hey all, im running slackware 64 with alien's multilib packages.
I recently bought Enemy Territory: Quake Wars, because they have a linux client for the game. I downloaded their binary, and got the following message when i tried to run it:
I have both lua and tolua++ installed from slackbuilds.org, and even built and installed compat32 packages of both, but for some reason, I still get the same error.
This is particularly upsetting because I paid for the software specifically due to a linux client being released, and now am out the money and can't even play my game.
Is it a 32 bit binary? Have you looked through the manual for a dependency list? If it comes with a native Linux client, a dep list should be in there somewhere.
it is indeed a 32 bit binary, after a lot of searching, i still havent found a dep list. running it with linux32 still garners the same error, with or without the compat-32 packages. im going to have to dual boot this one, i fear.
maybe you could check the required libraries with ldd and use convertpkg-compat32 to create 32bit versions of the missing ones? or use strace? or gdb? just some ideas.
Compiling 32-bit programs
In case you need to compile a 32-bit program (wine and grub are two examples of open source programs that are 32-bit only) you first configure your shell environment by running the command:
Code:
. /etc/profile.d/32dev.sh
Note the 'dot' in front of the filename - that is actually part of the commandline! Running this command changes or creates several environment variables. The effect of this is, that 32-bit versions of binaries are preferred over 64bit binaries when you compile source code - you will be running a 32bit compilation. The effect will last until you logout from your shell.
In this changed environment, you will be able to use standard SlackBuilds to build 32-bit packages for Slackware64. There are two things to keep in mind:
You will have to define the ARCH variable as 'x86_64' even though you are compiling a 32-bit program!
This is related to the triplet of “$ARCH-slackware-linux” which is normally used in the “configure” command. Also, try setting the ARCH to for instance “i486” and you will see that the CFLAGS definition for that architecture will result in gcc errors like ”compiler can not create executables”. This is related to the design of a SlackBuild script. Rather than editing the script and change/remove CFLAGS definitions, you can set the ARCH to “x86_64” and save yourself some time. The real work is being done by the 32dev.sh script.
You will have to edit the SlackBuild if it wants to use 'lib64/' directories for “$ARCH = x86_64”. You have to force it to use 'lib/' directories instead. Usually, this is accomplished by finding a definition like:
so i built and installed 32 bit compatibility packages of lua, and still get the same error. has anyone gotten this to work on slackware64? i really dont want to dual boot just to play a game.
Is there a demo of this game available for download so that other people may be able to attempt to assist you? My guess is that the game includes its own Lua, so installing a separate Lua package won't actually help you.
I got it installed, but man was it a challenge. turns out the client posted on the official website is out of date, so i went and found the newest version, which installed fine, but wouldnt run due to graphics driver issues. luckily, i remembered a trick i used to use with wine to launch 3d programs:
Code:
LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri
this made the 32 bit program look for the 32 bit graphics drivers, and got it to launch allright.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.