help in ld



hi

i m compiled my test.c file in the following way and while i tryed to
link with ld command, it will link successfull but which i tryed to
execute ./test file then it gives message -bash: ./test: permission
denied.

$ gcc test.c -o
$ ld -o test /lib/libc-2.3.5.so test.o -e main
$ ./test
-bash: ./test: Permission denied

how can i overcome this problem.. plz help me..

Chandrakant

.