Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] nxclient: cannot execute binary file: Exec format error
Date: Sun, 09 Apr 2017 16:20:48
Message-Id: CAJ1xhMUEFXXQ58FH0XYGkVjzDiMtueUppE4jX76hO2Wx2a-SqQ@mail.gmail.com
In Reply to: Re: [gentoo-user] nxclient: cannot execute binary file: Exec format error by Alexander Kapshuk
1 On Sun, Apr 9, 2017 at 7:15 PM, Alexander Kapshuk
2 <alexander.kapshuk@×××××.com> wrote:
3 > On Sun, Apr 9, 2017 at 7:06 PM, <thelma@×××××××××××.com> wrote:
4 >> On 04/09/2017 09:55 AM, Alexander Kapshuk wrote:
5 >>> On Sun, Apr 9, 2017 at 6:49 PM, <thelma@×××××××××××.com> wrote:
6 >>>> I've installed: net-misc/nxclient-3.5.0.7 on x86 and it compiled without errors, but when I try to run it I get an error:
7 >>>>
8 >>>> nxclient
9 >>>> /usr/bin/nxclient: line 8: /usr/NX/bin/nxclient: cannot execute binary file: Exec format error
10 >>>> /usr/bin/nxclient: line 8: /usr/NX/bin/nxclient: Success
11 >>>>
12 >>>> In a remote location all my boxes are Gentoo except one Win10 (Home Edition).
13 >>>> I have a hard time connecting to it.
14 >>>> X2Go has only client for Win10 but in order for x2go to connect to Win10, it would have to run X2Go-server isn't it?
15 >>>>
16 >>>> Win10 has Remote Desktop for connecting to other computers, but you can't remote desktop to Windows 10 Home itself. That requires Windows 10 Pro.
17 >>>>
18 >>>> What are my alternatives?
19 >>>>
20 >>>> --
21 >>>> Thelma
22 >>>>
23 >>>
24 >>> What's the output of 'readelf -h /path/to/nxclient'?
25 >>>
26 >>>
27 >> readelf -h /usr/NX/bin/nxclient
28 >> ELF Header:
29 >> Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
30 >> Class: ELF64
31 >> Data: 2's complement, little endian
32 >> Version: 1 (current)
33 >> OS/ABI: UNIX - System V
34 >> ABI Version: 0
35 >> Type: EXEC (Executable file)
36 >> Machine: Advanced Micro Devices X86-64
37 >> Version: 0x1
38 >> Entry point address: 0x4207e0
39 >> Start of program headers: 64 (bytes into file)
40 >> Start of section headers: 6314232 (bytes into file)
41 >> Flags: 0x0
42 >> Size of this header: 64 (bytes)
43 >> Size of program headers: 56 (bytes)
44 >> Number of program headers: 8
45 >> Size of section headers: 64 (bytes)
46 >> Number of section headers: 29
47 >> Section header string table index: 28
48 >>
49 >> --
50 >> Thelma
51 >>
52 >
53 > OK. It's an x86-64 binary. That explains the error message you got
54 > when attempting to run it on your x86 machine.
55 > How did that happen, I wonder?
56 >
57 > Just to be 100% sure, can you please supply the output of the commands below?
58 > uname -m
59 > gcc -v 2>&1 | grep ^Target
60 > emerge --info
61
62 'net-misc/nxclient' doesn't seem to be in my portage tree?
63 Is it supported by Gentoo devs at all?

Replies

Subject Author
Re: [gentoo-user] nxclient: cannot execute binary file: Exec format error thelma@×××××××××××.com