It is currently Thu May 01, 2025 6:30 am

RUNNING WITH RIFLES Multiplayer

test

Game servers 52 List provided by EpocDotFr | Players online 154


All times are UTC




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Running on Ubuntu 12.04
PostPosted: Mon Feb 11, 2013 11:06 pm 
Offline

Joined: Sun Jan 27, 2013 10:18 pm
Posts: 11
Hi, sorry if this question has been asked before, I couldn't find any topics asking the same question.

When I run the 'launch_game' script I get the error:
"error while loading shared libraries: libXpm.so.4: cannot open shared object file: No such file or directory"

I have also installed all the libraries that the readme suggests.

If it helps, I'm trying to run the launch_game script from the terminal.

Am I doing something obviously wrong? Getting the game to run on Ubuntu isn't essential as I have a Windows partition anyway, but I'm just confused as to why it doesn't work.


Top
 Profile  
 
PostPosted: Mon Feb 11, 2013 11:24 pm 
Offline

Joined: Mon Dec 31, 2012 6:19 pm
Posts: 37
Odd... libXpm is a part of standard X Windows, the basic windowing environment for *nix (on top of which you can tailor the windowing system by using Gnome / KDE / etc). LibXpm should be on every Ubuntu desktop in the universe, unless maybe you're running on a server or something...

Is there a file /usr/lib/libXpm.so.4 on your system? If so then maybe it's just some kind of load library path problem.


Top
 Profile  
 
PostPosted: Mon Feb 11, 2013 11:36 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Is your Ubuntu 64bit or 32bit?


Top
 Profile  
 
PostPosted: Tue Feb 12, 2013 10:04 am 
Offline

Joined: Sun Jan 27, 2013 10:18 pm
Posts: 11
I can't find 'Libxpm.so.4' in usr/lib. There are several other 'Libx...' libraries but not that one specifically.

Is it possible to just install it seperately via apt-get or soemthing? Sorry I'm still fairly new to Linux.

Oh and my Ubuntu is 64 bit.


Top
 Profile  
 
PostPosted: Tue Feb 12, 2013 10:31 am 
Offline

Joined: Sun Jan 27, 2013 10:18 pm
Posts: 11
Nevermind, I found it eventually inside usr/lib/x86_64-linux-gnu. So RwR is only searching within usr/ib right?

Ubuntu won't let me copy and paste libxpm to the parent folder though.


Top
 Profile  
 
PostPosted: Tue Feb 12, 2013 1:58 pm 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
To make it possible to find by RWR, you could try copying the .so file to RWR's folder, specifically lib-subfolder there.


Top
 Profile  
 
PostPosted: Tue Feb 12, 2013 7:14 pm 
Offline

Joined: Sun Jan 27, 2013 10:18 pm
Posts: 11
Tried that too but now I just get: "error while loading shared libraries: libXpm.so.4: wrong ELF class: ELFCLASS64"

I did find this article on a similar issue with Linux steam:
http://askubuntu.com/questions/216367/s ... ass-elfcla

Is there something similar I can do with RwR? I noticed the launch.game.sh script has a similar reference to a library directory.
Or is it just that the library is 64bit while the game needs a 32 bit one?


Well like I said I can run the game fine under Windows, so in the end it's not a big deal.


Top
 Profile  
 
PostPosted: Wed Feb 13, 2013 12:48 am 
Offline
Site Admin

Joined: Mon Jun 27, 2011 11:59 am
Posts: 2856
Yes, that's it, libXpm.so.4 now found by RWR on your system is 64-bit, but it needs to be 32-bit.

As a Ubuntu 12 user, you should be able to install 32-bit libs by e.g. apt-get install libXpm4:i386. If you do that, you need to then obviously remove the copied libXpm.so.4 from the lib-subfolder under RWR.


Top
 Profile  
 
PostPosted: Wed Feb 13, 2013 10:44 am 
Offline

Joined: Sun Jan 27, 2013 10:18 pm
Posts: 11
Awesome, the game is working fine now. Thanks a lot for the help.

I do most of my work on Ubuntu so it's nice to have something to alt-tab to every now and then.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group