LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-29-2011, 09:13 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
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.

Code:
➜  ~  yum provides \*/libGL.so.1
Loaded plugins: downloadonly, langpacks, presto, refresh-packagekit, remove-with-leaves
Glide3-libGL-6.2.1-12.fc15.x86_64 : Glide3 OpenGL library for use with 3Dfx Voodoo 1 & 2 cards
Repo        : fedora
Matched from:
Filename    : /usr/lib64/Glide3-libGL/libGL.so.1



mesa-libGL-7.11-8.fc16.i686 : Mesa libGL runtime libraries and DRI drivers
Repo        : fedora
Matched from:
Filename    : /usr/lib/libGL.so.1



mesa-libGL-7.11-8.fc16.x86_64 : Mesa libGL runtime libraries and DRI drivers
Repo        : fedora
Matched from:
Filename    : /usr/lib64/libGL.so.1



mesa-libGL-7.11.2-1.fc16.i686 : Mesa libGL runtime libraries and DRI drivers
Repo        : updates
Matched from:
Filename    : /usr/lib/libGL.so.1



mesa-libGL-7.11.2-1.fc16.x86_64 : Mesa libGL runtime libraries and DRI drivers
Repo        : updates
Matched from:
Filename    : /usr/lib64/libGL.so.1



xorg-x11-drv-catalyst-libs-11.11-2.fc16.i686 : Libraries for xorg-x11-drv-catalyst
Repo        : rpmfusion-nonfree-updates
Matched from:
Filename    : /usr/lib/catalyst/libGL.so.1



xorg-x11-drv-catalyst-libs-11.11-2.fc16.x86_64 : Libraries for xorg-x11-drv-catalyst
Repo        : rpmfusion-nonfree-updates
Matched from:
Filename    : /usr/lib64/catalyst/libGL.so.1



1:xorg-x11-drv-nvidia-libs-285.05.09-1.fc16.i686 : Libraries for xorg-x11-drv-nvidia
Repo        : rpmfusion-nonfree
Matched from:
Filename    : /usr/lib/nvidia/libGL.so.1



1:xorg-x11-drv-nvidia-libs-285.05.09-1.fc16.x86_64 : Libraries for xorg-x11-drv-nvidia
Repo        : rpmfusion-nonfree
Matched from:
Filename    : /usr/lib64/nvidia/libGL.so.1



1:xorg-x11-drv-nvidia-libs-290.10-1.fc16.i686 : Libraries for xorg-x11-drv-nvidia
Repo        : rpmfusion-nonfree-updates
Matched from:
Filename    : /usr/lib/nvidia/libGL.so.1



1:xorg-x11-drv-nvidia-libs-290.10-1.fc16.x86_64 : Libraries for xorg-x11-drv-nvidia
Repo        : rpmfusion-nonfree-updates
Matched from:
Filename    : /usr/lib64/nvidia/libGL.so.1



mesa-libGL-7.11.2-1.fc16.x86_64 : Mesa libGL runtime libraries and DRI drivers
Repo        : @updates
Matched from:
Filename    : /usr/lib64/libGL.so.1



➜  ~
 
Old 12-29-2011, 09:32 AM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
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:
Code:
> ls -l CounterStrike2D
-rwxr--r-- 1 ##### ccusers 2212520 Oct 16  2009 CounterStrike2D
> file CounterStrike2D
CounterStrike2D: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
> ldd CounterStrike2D
        linux-gate.so.1 =>  (0xffffe000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x0048b000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xf7eb8000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xf7e38000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf7e33000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x0036f000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00b10000)
        libm.so.6 => /lib/libm.so.6 (0x009c7000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00b02000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x009ae000)
        libc.so.6 => /lib/libc.so.6 (0x00862000)
        libdl.so.2 => /lib/libdl.so.2 (0x009a8000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00afd000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x009f0000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00263000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0xf7e0c000)
        /lib/ld-linux.so.2 (0x00844000)
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).

Last edited by johnsfine; 12-29-2011 at 09:42 AM.
 
Old 12-29-2011, 11:43 AM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
Are you doing this on a Fedora 16 64-bit install? I already know it works other distros just fine.

Code:
➜  cs2d_0119_linux  ls -l CounterStrike2D
-rwxr-xr-x. 1 bull bull 2212520 Oct 16  2009 CounterStrike2D
➜  cs2d_0119_linux  file CounterStrike2D
CounterStrike2D: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
➜  cs2d_0119_linux  ldd CounterStrike2D
        not a dynamic executable
➜  cs2d_0119_linux
 
Old 12-29-2011, 11:58 AM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by fakie_flip View Post
Are you doing this on a Fedora 16 64-bit install? I already know it works other distros just fine.
No, 64-bit Centos. I tested because I thought the results you got from ls, file and ldd might be only subtly off and comparison would help. But ...

Code:
➜  cs2d_0119_linux  file CounterStrike2D
CounterStrike2D: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped
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:
Code:
ls -l /proc/sys/fs/binfmt_misc/

Last edited by johnsfine; 12-29-2011 at 12:08 PM.
 
1 members found this post helpful.
Old 12-29-2011, 12:27 PM   #5
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
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.

Last edited by johnsfine; 12-29-2011 at 12:30 PM.
 
1 members found this post helpful.
Old 01-02-2012, 09:10 PM   #6
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
Thank you for pointing that out about mesa. I've made some progress with your help, and I came to another road block.

Code:
➜  cs2d_0119_linux  rpm -qa | grep mesa
mesa-dri-filesystem-7.11.2-1.fc16.x86_64
mesa-libGL-7.11.2-1.fc16.x86_64
mesa-dri-drivers-7.11.2-1.fc16.x86_64
mesa-libGLU-7.11.2-1.fc16.x86_64➜  cs2d_0119_linux  yi mesa-libGL.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 mesa-libGL.i686 0:7.11.2-1.fc16 will be installed
--> Processing Dependency: mesa-dri-drivers(x86-32) = 7.11.2-1.fc16 for package: mesa-libGL-7.11.2-1.fc16.i686
--> Processing Dependency: libstdc++.so.6 for package: mesa-libGL-7.11.2-1.fc16.i686
--> Processing Dependency: libdrm.so.2 for package: mesa-libGL-7.11.2-1.fc16.i686
--> Processing Dependency: libXxf86vm.so.1 for package: mesa-libGL-7.11.2-1.fc16.i686
--> Processing Dependency: libXfixes.so.3 for package: mesa-libGL-7.11.2-1.fc16.i686
--> Processing Dependency: libXext.so.6 for package: mesa-libGL-7.11.2-1.fc16.i686
--> Processing Dependency: libXdamage.so.1 for package: mesa-libGL-7.11.2-1.fc16.i686
--> Running transaction check
---> Package libXdamage.i686 0:1.1.3-2.fc15 will be installed
---> Package libXext.i686 0:1.3.0-1.fc16 will be installed
---> Package libXfixes.i686 0:5.0-1.fc16 will be installed
---> Package libXxf86vm.i686 0:1.1.1-2.fc15 will be installed
---> Package libdrm.i686 0:2.4.27-2.fc16 will be installed
--> Processing Dependency: libpciaccess.so.0 for package: libdrm-2.4.27-2.fc16.i686
---> Package libstdc++.i686 0:4.6.2-1.fc16 will be installed
---> Package mesa-dri-drivers.i686 0:7.11.2-1.fc16 will be installed
--> Processing Dependency: mesa-dri-filesystem(x86-32) for package: mesa-dri-drivers-7.11.2-1.fc16.i686
--> Processing Dependency: libselinux.so.1 for package: mesa-dri-drivers-7.11.2-1.fc16.i686
--> Processing Dependency: libffi.so.5 for package: mesa-dri-drivers-7.11.2-1.fc16.i686
--> Processing Dependency: libexpat.so.1 for package: mesa-dri-drivers-7.11.2-1.fc16.i686
--> Processing Dependency: libLLVM-2.9.so for package: mesa-dri-drivers-7.11.2-1.fc16.i686
--> Running transaction check
---> Package expat.i686 0:2.0.1-11.fc15 will be installed
---> Package libffi.i686 0:3.0.10-1.fc16 will be installed
---> Package libpciaccess.i686 0:0.12.1-1.fc15 will be installed
---> Package libselinux.i686 0:2.1.6-5.fc16 will be installed
---> Package llvm-libs.i686 0:2.9-4.fc16 will be installed
---> Package mesa-dri-filesystem.i686 0:7.11.2-1.fc16 will be installed
--> Finished Dependency Resolution

Dependencies Resolved
====================================================================================================================================
 Package                                Arch                    Version                            Repository                  Size
====================================================================================================================================
Installing:
 mesa-libGL                             i686                    7.11.2-1.fc16                      updates                    147 k
Installing for dependencies:
 expat                                  i686                    2.0.1-11.fc15                      fedora                      76 k
 libXdamage                             i686                    1.1.3-2.fc15                       fedora                      18 k
 libXext                                i686                    1.3.0-1.fc16                       updates                     34 k
 libXfixes                              i686                    5.0-1.fc16                         fedora                      23 k
 libXxf86vm                             i686                    1.1.1-2.fc15                       fedora                      21 k
 libdrm                                 i686                    2.4.27-2.fc16                      updates                     72 k
 libffi                                 i686                    3.0.10-1.fc16                      fedora                      23 k
 libpciaccess                           i686                    0.12.1-1.fc15                      fedora                      24 k
 libselinux                             i686                    2.1.6-5.fc16                       updates                    115 k
 libstdc++                              i686                    4.6.2-1.fc16                       fedora                     299 k
 llvm-libs                              i686                    2.9-4.fc16                         fedora                     5.4 M
 mesa-dri-drivers                       i686                    7.11.2-1.fc16                      updates                    9.5 M
 mesa-dri-filesystem                    i686                    7.11.2-1.fc16                      updates                     21 k

Transaction Summary 
====================================================================================================================================
Install      14 Packages

Total size: 16 M
Total download size: 16 M
Installed size: 40 M
Is this ok [y/N]: y 
Downloading Packages:
(1/13): libXdamage-1.1.3-2.fc15.i686.rpm                                                                     |  18 kB     00:00
(2/13): libXext-1.3.0-1.fc16.i686.rpm                                                                        |  34 kB     00:00
(3/13): libXfixes-5.0-1.fc16.i686.rpm                                                                        |  23 kB     00:00
(4/13): libXxf86vm-1.1.1-2.fc15.i686.rpm                                                                     |  21 kB     00:00
(5/13): libdrm-2.4.27-2.fc16.i686.rpm                                                                        |  72 kB     00:00
(6/13): libffi-3.0.10-1.fc16.i686.rpm                                                                        |  23 kB     00:00
(7/13): libpciaccess-0.12.1-1.fc15.i686.rpm                                                                  |  24 kB     00:00
(8/13): libselinux-2.1.6-5.fc16.i686.rpm                                                                     | 115 kB     00:02
(9/13): libstdc++-4.6.2-1.fc16.i686.rpm                                                                      | 299 kB     00:03
(10/13): llvm-libs-2.9-4.fc16.i686.rpm                                                                       | 5.4 MB     00:57
ftp://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/updates/16/x86_64/mesa-dri-drivers-7.11.2-1.fc16.i686.rpm: [Errno 12] Timeout on ftp://mirror.cs.princeton.edu/pub/mirrors/fedora/linux/updates/16/x86_64/mesa-dri-drivers-7.11.2-1.fc16.i686.rpm: (28, '')
Trying other mirror.
(11/13): mesa-dri-drivers-7.11.2-1.fc16.i686.rpm                                                             | 9.5 MB     00:57
(12/13): mesa-dri-filesystem-7.11.2-1.fc16.i686.rpm                                                          |  21 kB     00:00
(13/13): mesa-libGL-7.11.2-1.fc16.i686.rpm                                                                   | 147 kB     00:00
------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                98 kB/s |  16 MB     02:43
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction 
  Installing : libstdc++-4.6.2-1.fc16.i686                                                                                     1/14
  Installing : libffi-3.0.10-1.fc16.i686                                                                                       2/14
  Installing : libXfixes-5.0-1.fc16.i686                                                                                       3/14
  Installing : libXext-1.3.0-1.fc16.i686                                                                                       4/14
  Installing : mesa-dri-filesystem-7.11.2-1.fc16.i686                                                                          5/14
  Installing : libXxf86vm-1.1.1-2.fc15.i686                                                                                    6/14
  Installing : libXdamage-1.1.3-2.fc15.i686                                                                                    7/14
  Installing : llvm-libs-2.9-4.fc16.i686                                                                                       8/14
  Installing : libselinux-2.1.6-5.fc16.i686                                                                                    9/14
  Installing : expat-2.0.1-11.fc15.i686                                                                                       10/14
  Installing : libpciaccess-0.12.1-1.fc15.i686                                                                                11/14
  Installing : libdrm-2.4.27-2.fc16.i686                                                                                      12/14
  Installing : mesa-dri-drivers-7.11.2-1.fc16.i686                                                                            13/14
  Installing : mesa-libGL-7.11.2-1.fc16.i686                                                                                  14/14

Installed:
  mesa-libGL.i686 0:7.11.2-1.fc16

Dependency Installed:
  expat.i686 0:2.0.1-11.fc15                     libXdamage.i686 0:1.1.3-2.fc15          libXext.i686 0:1.3.0-1.fc16
  libXfixes.i686 0:5.0-1.fc16                    libXxf86vm.i686 0:1.1.1-2.fc15          libdrm.i686 0:2.4.27-2.fc16
  libffi.i686 0:3.0.10-1.fc16                    libpciaccess.i686 0:0.12.1-1.fc15       libselinux.i686 0:2.1.6-5.fc16
  libstdc++.i686 0:4.6.2-1.fc16                  llvm-libs.i686 0:2.9-4.fc16             mesa-dri-drivers.i686 0:7.11.2-1.fc16
  mesa-dri-filesystem.i686 0:7.11.2-1.fc16

Complete!
➜  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  ./CounterStrike2D
./CounterStrike2D: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
➜  cs2d_0119_linux  yum provides \*/libGLU.so.1
Loaded plugins: downloadonly, fastestmirror, langpacks, presto, refresh-packagekit, remove-with-leaves
Determining fastest mirrors
 * fedora: mirror.utexas.edu
 * rpmfusion-free: mirror.us.leaseweb.net
 * rpmfusion-free-updates: mirror.us.leaseweb.net
 * rpmfusion-nonfree: mirror.us.leaseweb.net
 * rpmfusion-nonfree-updates: mirror.us.leaseweb.net
 * updates: mirror.utexas.edu
mesa-libGLU-7.11-8.fc16.i686 : Mesa libGLU runtime library
Repo        : fedora
Matched from:
Filename    : /usr/lib/libGLU.so.1



mesa-libGLU-7.11-8.fc16.x86_64 : Mesa libGLU runtime library
Repo        : fedora
Matched from:
Filename    : /usr/lib64/libGLU.so.1



mesa-libGLU-7.11.2-1.fc16.i686 : Mesa libGLU runtime library
Repo        : updates
Matched from:
Filename    : /usr/lib/libGLU.so.1



mesa-libGLU-7.11.2-1.fc16.x86_64 : Mesa libGLU runtime library
Repo        : updates
Matched from:
Filename    : /usr/lib64/libGLU.so.1



mesa-libGLU-7.11.2-1.fc16.x86_64 : Mesa libGLU runtime library
Repo        : @updates
Matched from:
Filename    : /usr/lib64/libGLU.so.1



➜  cs2d_0119_linux  yi mesa-libGLU-7.11-8.fc16.i686
[sudo] password for bull:
Loaded plugins: downloadonly, fastestmirror, langpacks, presto, refresh-packagekit, remove-with-leaves
Determining fastest mirrors
 * fedora: fedora.mirror.lstn.net
 * rpmfusion-free: mirrors.tummy.com
 * rpmfusion-free-updates: mirrors.tummy.com
 * rpmfusion-nonfree: mirrors.tummy.com
 * rpmfusion-nonfree-updates: mirrors.tummy.com
 * updates: fedora.mirror.lstn.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mesa-libGLU.i686 0:7.11-8.fc16 will be installed
--> Finished Dependency Resolution
Error: Protected multilib versions: mesa-libGLU-7.11-8.fc16.i686 != mesa-libGLU-7.11.2-1.fc16.x86_64
➜  cs2d_0119_linux
I'm wondering if yum is preventing me from installing this because it's related to a 32 bit video driver on a 64 bit OS.

EDIT: yi and ys are just aliases for yum install and yum search provided by the ohmyzsh yum plugin.

Last edited by fakie_flip; 01-02-2012 at 09:13 PM.
 
Old 01-02-2012, 09:39 PM   #7
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
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.

I was looking at

mesa-libGLU-7.11-8.fc16.i686 != mesa-libGLU-7.11.2-1.fc16.x86_64

and thinking does not equal because of different archs. I just needed to have the same 32 bit version as I do for the 64 bit package.

Last edited by fakie_flip; 01-02-2012 at 10:00 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 13 32bit and then Linux Mint 32bit and then Ubuntu 10.04 32bit ciao303 Linux - Newbie 3 08-09-2010 11:03 PM
Porting 32bit application to 64bit on 64bit RedHat 5.4 pvpnguyen Programming 4 07-23-2010 06:52 AM
installing 32bit firefox on 64bit fedora 4 status0 Fedora - Installation 13 08-29-2006 01:42 PM
Compiling MPlayer 32bit on Fedora 4 64bit mwales Linux - Software 2 08-28-2006 05:59 AM
can 64bit processor run both 64bit and 32bit computers? DJOtaku Linux - General 4 09-08-2005 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration