I've written a simple C program that uses the GTK+ visual interface (I can post the code if it's relevant). I can compile it without erros or warnings using:
gcc -c s9p2.c
pkg-config --cflags glib-2.0
pkg-config --cflags gtk+-2.0
Where s9p2.c is the program name. However, when I try to run the program I get this:
bash: ./s9p2: No such file or directory
I have checked with the ls command and the file is in fact there. I have also tried to install. I have tried googling for a solution, and one that came up was to install the ia32-libs package. I did that, but it did not work.
I would appreciate any help. Please forgive me if I was not clear.
EDIT: As asked, this is the output of ls -l s9p2* is:
-rw-rw-r-- 1 francisco francisco 2492 Jan 3 19:11 s9p2.c
-rw-rw-r-- 1 francisco francisco 6616 Jan 3 21:13 s9p2.o