Page 1 of 1

2.7.1 - linux; "no such file or directory" errors

Posted: January 7th, 2012, 1:19 pm
by Hirato
If you just want the solution, scroll to the end of the post.

As some of you may know, I've moved to 64bit Arch over a year ago, and I've been compiling both the 64bit and 32bit binaries there.
To my knowledge, everything worked fine, but it has come to my attention that some people (probably everyone) has had trouble running the binaries, with their shells providing the most nonsensical error..

Code: Select all

./sandbox_unix: line 132: ./bin/sandbox_client_32_fps: No such file or directory
I didn't believe them at all until I tried to run the binaries on my netbook with Ubuntu 11.10..

I think we can all agree that this is not the case and that something is seriously wrong.
I can't even run the binaries directly, the system still pretends all 2 million odd bytes don't exist.
This is the ouput of ll bin

Code: Select all

-rwxrwxr-x 1 hirato hirato  2426960 2012-01-08 01:38 sandbox_client_32_fps
-rwxrwxr-x 1 hirato hirato  2064692 2012-01-08 01:38 sandbox_client_32_krs
-rwxrwxr-x 1 hirato hirato  2233132 2012-01-08 01:38 sandbox_client_32_movie
-rwxr-xr-x 1 hirato hirato  2338876 2012-01-08 01:37 sandbox_client_32_pzl
-rwxrwxr-x 1 hirato hirato  2498944 2012-01-08 01:38 sandbox_client_32_rpg
-rwxrwxr-x 1 hirato hirato  2076984 2012-01-08 01:38 sandbox_client_32_ssp
-rwxrwxr-x 1 hirato hirato  2401584 2012-01-02 13:20 sandbox_client_64_fps
-rwxrwxr-x 1 hirato hirato  2039712 2012-01-02 13:20 sandbox_client_64_krs
-rwxrwxr-x 1 hirato hirato  2208656 2012-01-02 13:20 sandbox_client_64_movie
-rwxrwxr-x 1 hirato hirato  2474112 2012-01-02 13:20 sandbox_client_64_rpg
-rwxrwxr-x 1 hirato hirato  2052240 2012-01-02 13:20 sandbox_client_64_ssp
And to add additional insult to injury...

Code: Select all

bin/sandbox_client_32_fps:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
bin/sandbox_client_32_krs:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
bin/sandbox_client_32_movie: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
bin/sandbox_client_32_pzl:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
bin/sandbox_client_32_rpg:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
bin/sandbox_client_32_ssp:   ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.27, stripped
As we can see here, ALL the binaries exist, their permissions are correct and allow execution, so what gives?
I can cat them, I can use LDD to get a list of the libraries, THEY EVEN IDENTIFY CORRECTLY AS BINARIES

I have no idea who's or what is responsible, but it's entirely out of my power - there is nothing I can do about it.
I'm sorry we couldn't provide a better out of the box experience.

Workaround
I'm afraid I don't have a solution for you, but for now you'll have to compile your own binaries, in short, install the sdl, sdl_image and sdl_mixer devel libraries and type make -C src install in your sandbox directory.
You can find more detailed instructions on our wiki

Re: 2.7.1 - linux; "no such file or directory" errors

Posted: January 7th, 2012, 2:55 pm
by tyche
GCC and G++ also needed. Compile works well.

New Menu: Some good, some bad. Better looking, better organized (to a point). Down side is hitting EXIT takes you out with no chance to save. Also, F2 takes you to the textures in the map, but not to the same place that you were, so you continually have to page through to find the last one you were using (or at least the general area of the selection you were using)

Re: 2.7.1 - linux; "no such file or directory" errors

Posted: January 26th, 2012, 11:00 am
by Hirato
Just a quick update.

This seems to have been an issue with the multilib version of GCC shipped in my distro.
A new version was uploaded recently and tyche has personally helped confirm that it's been fixed.

You will still need to compile your binaries, but this shouldn't be an issue for 2.7.2/2.8.0/3.0.0 (whichever comes next)

Re: 2.7.1 - linux; "no such file or directory" errors

Posted: March 13th, 2012, 8:14 am
by Leo_V117
josecar wrote:How could you do this?
what's your story?
what's the meaning?
-----------------------------------------------------------------------------
<REMOVED LINKS>
And, could you also refrain from spamming topics with the same post content from now on?

Thanks.
- Leo

Re: 2.7.1 - linux; "no such file or directory" errors

Posted: March 13th, 2012, 8:36 am
by tyche
Spammer banned and objectionable posts sent to trash, 3-13-2012. Just flag such people, if I don't catch them, and I'll remove them. Thanks

Craig
Tyche

Re: 2.7.1 - linux; "no such file or directory" errors

Posted: March 13th, 2012, 4:12 pm
by Leo_V117
Thanks, Tyche.

I think there's a couple of users like that one around...