Gentoo Archives: gentoo-amd64

From: Tonko Mulder <tonko.mulder@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Unable to execute binary files on CLI
Date: Thu, 13 Nov 2008 08:30:12
Message-Id: 43ba12950811130030h6405b74aia30fff4b38424383@mail.gmail.com
1 Hello list,
2
3 for some reason I'm unable to execute binary files and script files
4 (e.g. bash/sh/python).
5 If I put the interpreter in front of the shell script then I'm able to
6 execute the file, but I'm unable to run it as one would normal run it.
7
8 tonko@Gaius ~/ib2007/bin $ file ib2007ux
9 ib2007ux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
10 dynamically linked (uses shared libs), for GNU/Linux 2.0.0, stripped
11 tonko@Gaius ~/ib2007/bin $ ./ib2007ux
12 -bash: ./ib2007ux: Access denied
13
14 That's the output I get when trying to execute a binary file.
15
16 The next is when I try to execute a script file, in this case it's a
17 python script but same goes for every other.
18
19 tonko@Gaius ~/Dev/repo/arandr $ ./arandr
20 -bash: ./arandr: /usr/bin/env: bad interpreter: Access denied
21
22 I'm rather clueless on what might have caused this, so any help would
23 be very appreciated.
24 As a final resort I changed my CFLAGS from -Os to -O2 as is standard.
25
26 My emerge --info is at http://www.xs4all.nl/~mtonko/emerge.info
27 uname -a : Linux Gaius 2.6.26-gentoo-r1 #5 SMP Tue Nov 11 13:41:10 CET
28 2008 x86_64 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55
29 AuthenticAMD GNU/Linux
30
31
32 --
33 Regards,
34 Tonko

Replies

Subject Author
RE: [gentoo-amd64] Unable to execute binary files on CLI Nadav Horesh <nadavh@×××××××××××.com>
[gentoo-amd64] Re: Unable to execute binary files on CLI Duncan <1i5t5.duncan@×××.net>
Re: [gentoo-amd64] Unable to execute binary files on CLI Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>