FedoraThis forum is for the discussion of the Fedora Project.
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.
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
32bit game on 64bit Fedora 16
A Linux version is here. http://www.cs2d.com/download.php
I downloaded the linux binary and windows zip archive and combined all the files into one directory like instructed. Then I tried running the game.
Code:
➜ cs2d_0119_linux ls
bots CounterStrike2D.exe CS2D -opengl.bat Launcher.exe maps sfx
Changelog.txt CS2D -fullscreen.bat gfx Linux Info.txt Readme.txt sys
CounterStrike2D CS2D -fullscreen -opengl.bat help logos screens
➜ cs2d_0119_linux ls -l CounterStrike2D
-rwxr-xr-x. 1 bull bull 2212520 Oct 16 2009 CounterStrike2D
➜ cs2d_0119_linux ./CounterStrike2D
zsh: no such file or directory: ./CounterStrike2D
➜ cs2d_0119_linux sh -c "./CounterStrike2D"
sh: ./CounterStrike2D: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
➜ cs2d_0119_linux sudo yum install glibc.i686
[sudo] password for bull:
Loaded plugins: downloadonly, langpacks, presto, refresh-packagekit, remove-with-leaves
rpmfusion-free-updates | 3.3 kB 00:00
rpmfusion-nonfree-updates | 3.3 kB 00:00
updates/metalink | 17 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.i686 0:2.14.90-21 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.14.90-21.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.14.90-21.i686
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.13.1-14.fc16 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
glibc i686 2.14.90-21 updates 4.1 M
Installing for dependencies:
nss-softokn-freebl i686 3.13.1-14.fc16 updates 122 k
Transaction Summary
====================================================================================================================================
Install 2 Packages
Total download size: 4.2 M
Installed size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): glibc-2.14.90-21.i686.rpm | 4.1 MB 03:10
(2/2): nss-softokn-freebl-3.13.1-14.fc16.i686.rpm | 122 kB 00:02
------------------------------------------------------------------------------------------------------------------------------------
Total 22 kB/s | 4.2 MB 03:14
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : glibc-2.14.90-21.i686 1/2
Installing : nss-softokn-freebl-3.13.1-14.fc16.i686 2/2
Installed:
glibc.i686 0:2.14.90-21
Dependency Installed:
nss-softokn-freebl.i686 0:3.13.1-14.fc16
Complete!
➜ cs2d_0119_linux ./CounterStrike2D
./CounterStrike2D: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
➜ cs2d_0119_linux sudo yum install libX11-1.4.3-1.fc16.i686
[sudo] password for bull:
Loaded plugins: downloadonly, langpacks, presto, refresh-packagekit, remove-with-leaves
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libX11.i686 0:1.4.3-1.fc16 will be installed
--> Processing Dependency: libxcb.so.1 for package: libX11-1.4.3-1.fc16.i686
--> Running transaction check
---> Package libxcb.i686 0:1.7-3.fc16 will be installed
--> Processing Dependency: libXau.so.6 for package: libxcb-1.7-3.fc16.i686
--> Running transaction check
---> Package libXau.i686 0:1.0.6-2.fc15 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
libX11 i686 1.4.3-1.fc16 fedora 589 k
Installing for dependencies:
libXau i686 1.0.6-2.fc15 fedora 24 k
libxcb i686 1.7-3.fc16 fedora 107 k
Transaction Summary
====================================================================================================================================
Install 3 Packages
Total download size: 721 k
Installed size: 721 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): libX11-1.4.3-1.fc16.i686.rpm | 589 kB 00:32
(2/3): libXau-1.0.6-2.fc15.i686.rpm | 24 kB 00:01
(3/3): libxcb-1.7-3.fc16.i686.rpm | 107 kB 00:06
------------------------------------------------------------------------------------------------------------------------------------
Total 17 kB/s | 721 kB 00:41
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libXau-1.0.6-2.fc15.i686 1/3
Installing : libxcb-1.7-3.fc16.i686 2/3
Installing : libX11-1.4.3-1.fc16.i686 3/3
Installed:
libX11.i686 0:1.4.3-1.fc16
Dependency Installed:
libXau.i686 0:1.0.6-2.fc15 libxcb.i686 0:1.7-3.fc16
Complete!
➜ cs2d_0119_linux ./CounterStrike2D
./CounterStrike2D: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
➜ cs2d_0119_linux
I checked to see what packages provide libGL.so.1 in 32 bit. All of them are for drivers that I don't have. I am using noveau, and my driver is 64 bit. I am stuck trying to figure out how to make this game work. It works fine under other a few other 64 bit distros that I know of.
I think a little more info about that linux executable would help us give you more constructive advice. Here are three commands that should get useful info about that file:
Code:
ls -l CounterStrike2D
file CounterStrike2D
ldd CounterStrike2D
I downloaded the Linux file you linked and gave those commands with the following results:
I have not installed the Windows files you mentioned and I don't have access to X in the putty session I used so when I ran that executable I got:
Code:
e> ./CounterStrike2D
X connection to localhost:13.0 broken (explicit kill or server shutdown).
But that is further than you got.
So I hope some difference in the output of those three commands (ls -l, file, and ldd) will tell us why it didn't get as far on your system as on mine).
I think that rules out bad download and a lot of other problems.
Code:
➜ cs2d_0119_linux ldd CounterStrike2D
not a dynamic executable
while that is far from subtle.
I expect that means something on your 64 bit Fedora system is configured to disable all 32 bit executables.
I have participated in a few other threads here at LQ about systems on which something had been done (generally without that intention) to disable all 32 bit executables. But at the moment I don't recall the key details, nor good keywords to search for those threads.
Edit, I found one of those threads with the cause and solution to one way that 32 bit executables might be disabled. Read posts 43 through 45 of this thread and see if the same situation applies to your system: http://www.linuxquestions.org/questi...8/#post4273254
The relevant command to check that is:
I just reread your first post more carefully. So now I think I may have sent you off on a sidetrack. I still don't understand the ldd result you posted. But that might be an unrelated and maybe unimportant problem.
In your first post, you indicated the immediate problem was lack of
/usr/lib/libGL.so.1
Then you posted yum output indicating that file is in the package
mesa-libGL.i686
Then you didn't really explain why you don't want to install that package.
Quote:
I checked to see what packages provide libGL.so.1 in 32 bit. All of them are for drivers that I don't have.
I don't think the /usr/lib/libGL.so.1 in mesa-libGL is limited by driver.
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Original Poster
Rep:
Nevermind, my last post. I figured it all out, and I've got the game running now =). Kind of crazy because I can't really play it right now with one hand in a splint.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.