KnoooW / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

...sel_ldr_x86_64: No such file or directory #84

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd naclports/src
2. sh make_all.sh

What is the expected output? What do you see instead?
After about 20 minutes of compile magic, it times out with the error 
./minigzip: line 8: /home/user/nacl_sdk/pepper_canary/tools/sel_ldr_x86_64: No 
such file or directory

I go down the file tree and ls, but the file is right there, so I'm kind of 
stuck on what to do next.

What version of the product are you using? On what operating system?

Tried with Pepper_29 and Canary on both a Crouton enabled C7 and an AWS 
instance, raring and precise respectively 

Please provide any additional information below.

I understand that a lot of this stuff is experimental, but any guidence would 
be appreciated in how to patch this.

Original issue reported on code.google.com by moocow1...@gmail.com on 18 Sep 2013 at 3:33

GoogleCodeExporter commented 9 years ago
Are you running on x86 or x86_64 kernel?

I suspect that the 64-bit dynamic loader is missing from your system.  
sel_ldr_x86_64 is a 64-bit binary that requires /lib64/ld-linux-x86-64.so.2 to 
load.  This file should exist on all 64-bit linux installations.  If you don't 
have it then it could be that you running on a 32-bit system.  In this case 
make_all.sh will not work as it tries to build all configurations including 
64-bit.

To build just 32-bit binaries you can run "NACL_ARCH=i686 make all".

We should probably detect 32-bit installs and skip the sel_ldr_x64_64 parts of 
the
build in that case. 

Original comment by sbc@google.com on 18 Sep 2013 at 3:53

GoogleCodeExporter commented 9 years ago
That's the ticket. Thanks SBC. 

I'll see what I can do with an AWS instance, but the NACL_ARCH addon works for 
now.

Original comment by moocow1...@gmail.com on 18 Sep 2013 at 5:56

GoogleCodeExporter commented 9 years ago
Got all the way to Ruby before I hit a problem.

http://pastebin.com/wAYQ4Ems

Original comment by moocow1...@gmail.com on 19 Sep 2013 at 4:47

GoogleCodeExporter commented 9 years ago
I believe this is now fixed.

Original comment by sbc@google.com on 12 Nov 2013 at 6:38