I am writing a program in x86 asm, using nasm syntax, and using opengl and sdl. I assemble my program with:
nasm -f elf main.asm
and link with:
ld -o main main.o /usr/lib/libGL.so /usr/lib/libGLU.so /usr/lib/libSDL.so
so far so good. It produces an executable with no issues. However, when I try to run it with
It says "No such file or directory"
What is going on here? When I do ls, main shows up.