title: Make execvp permission denied
body: <p>I've got a makefile I'm trying to run without too much luck. Here's what happens</p>
  
  <p>I try to make, and it start out ok. It then gives an error that it can't find the file. However, I can do an ls -ld on the file without any problem. Do you have any idea whats going on?</p>
  
  <pre><code>pgr@pgr:~/start_code_1$ make
  gcc -Wall -g -m32 -c -fomit-frame-pointer -O2 -fno-builtin bootblock.s
  ld -nostartfiles -nostdlib -melf_i386 -Ttext 0x0 -o bootblock bootblock.o
  gcc -c -o createimage.o createimage.c
  gcc -o createimage createimage.o
  gcc -Wall -g -m32 -c -fomit-frame-pointer -O2 -fno-builtin kernel.s
  ld -nostartfiles -nostdlib -melf_i386 -Ttext 0x1000 -o kernel kernel.o
  ./createimage.given --extended ./bootblock ./kernel
  make: ./createimage.given: Command not found
  make: *** [image] Error 127
  pgr@pgr:~/start_code_1$ ls -ld ./createimage.given 
  -rwxr-xr-x 1 pgr pgr 26110 Sep 16 13:03 ./createimage.given
  </code></pre>
  
  <p><strong>UPDATED</strong></p>
  
  <p>pgr@pgr:~/workspace/318/bootloader$ file createimage.given 
  createimage.given: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped</p>
  
  <p><strong>UPDATE 2</strong></p>
  
  <pre><code>pgr@pgr:~/phdvdev/workspace/318/bootloader$ ldd createimage.given 
      not a dynamic executable
  </code></pre>