You are not logged in.

#1 2006-05-24 09:08:16

fluke
Member
From: Shaoguan Univ., PRC
Registered: 2005-08-12
Posts: 241
Website

Cant run elf file

http://ospattern.net/1xdialclient.tar

Why can't I run the executable file.

[root@sgu etc]# ./1xdialclient
-bash: ./1xdialclient: No such file or directory

Offline

#2 2006-05-24 11:41:37

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Cant run elf file

a) it's not an executable
b) if it was, you'd have to set the right permissions to be able to execute it

Offline

#3 2006-05-24 11:55:42

fluke
Member
From: Shaoguan Univ., PRC
Registered: 2005-08-12
Posts: 241
Website

Re: Cant run elf file

yes, its a elf file.

and it have set it executable permission

i got the problem. i run it in gdb, found it was terminated for some errors,  maybe it's not adm64 compatible.

Offline

#4 2006-05-24 23:00:17

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Cant run elf file

The file isn't compatible with amd64 if you don't have a multilib installation:

file /tmp/1xdialclient:
/tmp/1xdialclient: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped


[jan@server ~]$ ldd /tmp/1xdialclient
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0xb7ea6000)
        /lib/ld-linux.so.2 (0xb7fe3000)

links with 32bit glibc on my i686. 32bit apps can't link with 64bit libs.

Offline

Board footer

Powered by FluxBB