On Sun, Apr 9, 2017 at 7:06 PM,  <the...@sys-concept.com> wrote:
> On 04/09/2017 09:55 AM, Alexander Kapshuk wrote:
>> On Sun, Apr 9, 2017 at 6:49 PM,  <the...@sys-concept.com> wrote:
>>> 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:
>>>
>>> nxclient
>>> /usr/bin/nxclient: line 8: /usr/NX/bin/nxclient: cannot execute binary 
>>> file: Exec format error
>>> /usr/bin/nxclient: line 8: /usr/NX/bin/nxclient: Success
>>>
>>> In a remote location all my boxes are Gentoo except one Win10 (Home 
>>> Edition).
>>> I have a hard time connecting to it.
>>> 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?
>>>
>>> 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.
>>>
>>> What are my alternatives?
>>>
>>> --
>>> Thelma
>>>
>>
>> What's the output of 'readelf -h /path/to/nxclient'?
>>
>>
> readelf -h  /usr/NX/bin/nxclient
> ELF Header:
>   Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
>   Class:                             ELF64
>   Data:                              2's complement, little endian
>   Version:                           1 (current)
>   OS/ABI:                            UNIX - System V
>   ABI Version:                       0
>   Type:                              EXEC (Executable file)
>   Machine:                           Advanced Micro Devices X86-64
>   Version:                           0x1
>   Entry point address:               0x4207e0
>   Start of program headers:          64 (bytes into file)
>   Start of section headers:          6314232 (bytes into file)
>   Flags:                             0x0
>   Size of this header:               64 (bytes)
>   Size of program headers:           56 (bytes)
>   Number of program headers:         8
>   Size of section headers:           64 (bytes)
>   Number of section headers:         29
>   Section header string table index: 28
>
> --
> Thelma
>

OK. It's an x86-64 binary. That explains the error message you got
when attempting to run it on your x86 machine.
How did that happen, I wonder?

Just to be 100% sure, can you please supply the output of the commands below?
uname -m
gcc -v 2>&1 | grep ^Target
emerge --info

Reply via email to