Jump to content
  • Announcements

    • The hills are bridges

      Logging in   05/10/2017

      If you had an account and can't log in as of 5/9/17, this may be because of a change in logins with new forum software. You can log in using your publicly displayed name (not your username) or your email address and the password you used before.   If you have problems with this, please ask any of the mods or admins. 
Sign in to follow this  
Splitpaw

Humble Bundle Linux bin file

Recommended Posts

Splitpaw   

Problem: can't execute bin install file:

:~/Downloads$ chmod -x avadon-linux-1331768904.bin

:~/Downloads$ sh avadon-linux-1331768904.bin

avadon-linux-1331768904.bin: 1: avadon-linux-1331768904.bin: Syntax error: "(" unexpected

bash: ./avadon-linux-1331768904.bin: Permission denied

$ sudo ./avadon-linux-1331768904.bin

[sudo] password for o0splitpaw0o:

sudo: ./avadon-linux-1331768904.bin: command not found

$

===============================

It mentions on their page I need "Mojo installer" can you point a link for the install of this if it's needed?

 

Thanks!

Share this post


Link to post
Share on other sites
Splitpaw   
Originally Posted By: Splitpaw
Problem: can't execute bin install file:
:~/Downloads$ chmod -x avadon-linux-1331768904.bin
:~/Downloads$ sh avadon-linux-1331768904.bin
avadon-linux-1331768904.bin: 1: avadon-linux-1331768904.bin: Syntax error: "(" unexpected
bash: ./avadon-linux-1331768904.bin: Permission denied
$ sudo ./avadon-linux-1331768904.bin
[sudo] password for o0splitpaw0o:
sudo: ./avadon-linux-1331768904.bin: command not found
$
===============================
It mentions on their page I need "Mojo installer" can you point a link for the install of this if it's needed?

Thanks!

I should give you some info on my OS

uname -a

Linux o0splitpaw0o-eeepc 3.2.0-17-generic #27-Ubuntu SMP Fri Feb 24 15:38:36 UTC 2012 i686 i686 i386 GNU/Linux
$


Share this post


Link to post
Share on other sites
Oov3Zuaf   

The .bin file _is_ the Mojo Installer. Just do the following after downloading it:

 

$ chmod u+x avadon-linux-1331768904.bin

$ ./avadon-linux-1331768904.bin

 

The installer should pop up and let you install the game with no trouble.

Share this post


Link to post
Share on other sites
Elwro   

Doesn't work for me:

 

 

$ chmod u+x avadon-linux-1331768904-bin

$ ./avadon-linux-1331768904-bin

bash: ./avadon-linux-1331768904-bin: No such file or directory

 

 

 

edit: tried "sudo", similar effect.

 

Share this post


Link to post
Share on other sites
Elwro   

Thanks for your help! Here it is:

 

$ ls -l avadon*

-rwxr-xr-x 1 leszek leszek 109767395 2012-03-20 22:17 avadon-linux-1331768904-bin

 

 

Share this post


Link to post
Share on other sites
Oov3Zuaf   

This is getting curiouser and curiouser...

 

$ ./avadon-linux-1331768904-bin

 

still gives you the 'file not found' error?

 

Please post what

 

$ file avadon-linux-1331768904-bin

 

gives you.

 

I really don't know what's happening, so here are a two far reached things you can try

 

a)

$ unset DISPLAY; ./avadon-linux-1331768904-bin

 

(You have to open a new terminal after that one as it screws with the environment variables. This will be undone in a new terminal)

 

B)

$ mv avadon-linux-1331768904-bin avadon-linux-1331768904.bin

$ ./avadon-linux-1331768904.bin

Share this post


Link to post
Share on other sites
Elwro   
Originally Posted By: Oov3Zuaf
This is getting curiouser and curiouser...

$ ./avadon-linux-1331768904-bin

still gives you the 'file not found' error?
Yes!
Quote:

Please post what

$ file avadon-linux-1331768904-bin

gives you.
$ file avadon-linux-1331768904-bin
avadon-linux-1331768904-bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped

Quote:

a)
$ unset DISPLAY; ./avadon-linux-1331768904-bin
Unfortunately, "No such file or directory" again.
Quote:

B)
$ mv avadon-linux-1331768904-bin avadon-linux-1331768904.bin
$ ./avadon-linux-1331768904.bin
Yeah, I tried that myself earlier wink Again, "No such file or directory". (I did set it to be executable again just to be sure.)


My hypothesis is that when I'm trying to run this thing, the system tries to use a service which is not available (what's this "mojo" thing? I read on the Humble Bundle page this is a "mojo" installer) and the "No such file or directory" message comes from the futile search for that service. But that's just a wild guess.

edit: Hm, I have a 64 bit system. Is this the problem?


$ uname -a
Linux leszek-desktop 2.6.32-39-generic #86-Ubuntu SMP Mon Feb 13 21:50:08 UTC 2012 x86_64 GNU/Linux

Share this post


Link to post
Share on other sites
Oov3Zuaf   

Wow... I just don't get it.

 

That file is the installer itself. It's self-extractable. The first part of the file is the installer, the second part is the data.

 

Can you please paste the content of the file strace.err (probably best to wrap it in

 tags) after running the following command:

 

$ strace ./avadon-linux-1331768904-bin 2> strace.err

 

I hope you have strace installed wink

 

I'll check back tomorrow.

 

edit: I thought about a 32/64 bit issue as well, but the error should've been a different one. Also the first post has the same issue on a 32 bit machine.

Share this post


Link to post
Share on other sites
Elwro   

Unfortunately, the whole file consists just of the following line:

 

strace: ./avadon-linux-1331768904-bin: command not found

 

Thanks again for the help!

 

 

edit: then maybe it's the kernel version? Too old in my case? Would be a shame...

Share this post


Link to post
Share on other sites
foobrew   

I'd try subscribing to the developers list and posting something there:

http://icculus.org/mailman/listinfo/avadon

 

I just installed without issue on Ubuntu 10.04:

 

$ uname -a

Linux flatline 2.6.32-40-generic #87-Ubuntu SMP Mon Mar 5 20:26:31 UTC 2012 i686 GNU/Linux

 

$ ll

total 105M

-rwxr-xr-x 1 epi epi 105M 2012-03-20 17:14 avadon-linux-1331768904-bin

 

$ lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 10.04.4 LTS

Release: 10.04

Codename: lucid

Share this post


Link to post
Share on other sites
Splitpaw   
Originally Posted By: Oov3Zuaf
The .bin file _is_ the Mojo Installer. Just do the following after downloading it:

$ chmod u+x avadon-linux-1331768904.bin
$ ./avadon-linux-1331768904.bin

The installer should pop up and let you install the game with no trouble.


This worked! Thanks!

Share this post


Link to post
Share on other sites
Splitpaw   

Well installed in /home/myname/Avadon .. but just core dumped

 

 

~/avadon$ ./Avadon

Avadon: Installed in '.'.

Avadon: Using x86 version.

Segmentation fault (core dumped)

 

 

==================

Trying to install using Sudo....

 

 

o0splitpaw0o@o0splitpaw0o-eeepc:~/Downloads$ sudo ./avadon-linux-1331768904.bin o0splitpaw0o@o0splitpaw0o-eeepc:~/Downloads$ cd ..

o0splitpaw0o@o0splitpaw0o-eeepc:~$ cd avadon/

o0splitpaw0o@o0splitpaw0o-eeepc:~/avadon$ ./Avadon

Avadon: Installed in '.'.

Avadon: Using x86 version.

Segmentation fault (core dumped)

o0splitpaw0o@o0splitpaw0o-eeepc:~/avadon$

 

=======================================

What do you like me to run to get that coredump log?

Share this post


Link to post
Share on other sites
Radon   

Ok, I've find the solution. You have to install the graphics libraries drivers [nouveau, nvidia, etc.] of 32 architecture. For exemple, I'd to type on my archlinux 64 OS:

$> sudo pacman -S lib32-nvidia-utils

Because I'm using nvidia drivers.

The installer is not mandatory pacman, it depends of your distribution (pacman, yum, apt-get, yaourt, ...).

The name of the lib32 package also depends of your distribution.

 

Then, you may meet an other issue while you launch Avadon.

If your output on your shell is like this:

Code:
/usr/local/games/avadon/Avadon Avadon: Installed in '/usr/local/games/avadon'.Avadon: Using amd64 version../Avadon-amd64: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory

You will have to install openal lib32 package.

After this, it should work.

Share this post


Link to post
Share on other sites
icculus   
Originally Posted By: Radon
Ok, I've find the solution. You have to install the graphics libraries drivers [nouveau, nvidia, etc.] of 32 architecture.
...
You will have to install openal lib32 package.
After this, it should work.


You shouldn't have to do either of these things; there's a 64-bit binary included, and it ships with its own OpenAL (although you can certainly swap in your own libopenal if you like). We should probably figure out why it decided to run the x86 version instead of the amd64 version on your machine.

Also for getting "file not found" on the initial installer...the installer is 32-bit, which used to be the most compatible way to ship it, but now apparently that aggravates a default 64-bit Ubuntu install. We'll keep searching for a better solution here for future games.

On Ubuntu...

sudo apt-get install ia32-libs

...and then the installer won't complain anymore. Sadly, you only need the 32-bit compatibility libraries for the installer and not the game. If that really annoys you, the installer is a self-extracting .zip file, so you can just run it through "unzip" and the complete game is in the "data" directory.


(The really misleading "file not found" error comes from Linux's dynamic loader, which is complaining that it can't find the 32-bit C runtime library, but it makes it look like it can't find the binary you just asked it to run. It's not my fault, honest!!)

--ryan.

Share this post


Link to post
Share on other sites
Elwro   

Still no luck:

 

$ ./Avadon

Avadon: Installed in '.'.

Avadon: Using amd64 version.

./Avadon-amd64: error while loading shared libraries: libopenal.so.1: cannot open shared object file: No such file or directory

 

Radon said to install the "openal lib32" package, but I have no idea what its name is in Ubuntu 10.04.4. Any pointers?

 

EDIT: I installed 'libopenal1' and the game works, with sound. Thanks everyone!

Share this post


Link to post
Share on other sites

I'm also getting a "segmentation fault" error on Ubuntu.

 

I have been able to install it though, following the instructions here, though I had to rename the file.

 

I get the following when I try to run it:

 

jose@jose-1011PX:~/avadon$ ./Avadon

Avadon: Installed in '.'.

Avadon: Using x86 version.

Segmentation fault

 

Can anybody help?

Share this post


Link to post
Share on other sites
icculus   

 

Ah, we shipped without the amd64 support directory (doh!), which is why installing your own OpenAL fixes it.

 

We'll correct that in the next build.

 

--ryan.

Share this post


Link to post
Share on other sites
topico   

I probably revealed the error. I'm using Chakra Linux 64bit. I've installed the game in /Games/Avadon (have a dedicated partition for games) but the start fails as reported above. Looking at the strace just before the segfault the binary tries this:

 

access("/games/avadon/avadon files/graphics core/g132.png", F_OK) = -1 ENOENT (No such file or directory)

 

(it should be ..."/Games/Avadon/avadon files/graphics core/g132.png"...)

 

As you can see, there is a lowercase() function somewhere in the code.

 

I removed the game, created a symlink games->Games and installed in /Games/avadon: now the game starts.

Share this post


Link to post
Share on other sites

UPDATE! Nevermind. I found the problem here: https://bugzilla.icculus.org/show_bug.cgi?id=5448

 

I have a netbook, Dell mini 1012, and the default resolution is larger than the native resolution. Changed it to to 1024x600 and it works just fine now.

 

---- Original Post follows----

 

I got it to install easy enough. But I'm getting the segmentation Fault error:

 

 

dxxxk@Gxxxr:~/avadon$ ls -l

total 3908

-rwxr-xr-x 1 d4k d4k 1290 Apr 12 11:46 Avadon

-rwxr-xr-x 1 d4k d4k 1883796 Apr 12 11:46 Avadon-amd64

drwxr-xr-x 7 d4k d4k 4096 Apr 12 11:47 avadon files

-rw-r--r-- 1 d4k d4k 219619 Apr 12 11:46 Avadon.png

-rwxr-xr-x 1 d4k d4k 1858315 Apr 12 11:46 Avadon-x86

-rw-r--r-- 1 d4k d4k 12344 Apr 12 11:47 icon.bmp

-rw-r--r-- 1 d4k d4k 329 Apr 12 11:46 README-linux.txt

-rwxr-xr-x 1 d4k d4k 81 Apr 12 11:47 uninstall-avadon.sh

drwxr-xr-x 2 d4k d4k 4096 Apr 12 11:47 x86

dxxxk@Gxxxr:~/avadon$ ./Avadon

Avadon: Installed in '.'.

Avadon: Using x86 version.

Segmentation fault

dxxxk@Gxxxr:~/avadon$

 

I'm running 32bit Debian (Crunchbang 10 Statler distro). There are no Upper-Cases in the path. But files were installed with upper-cases by default.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×