Linking to shared libraries?
I'm trying to link with the curses library.
But when I do:
ld -o test test.o -lcurses
It responds with:
ld: warning: cannot find entry symbol _start; defaulting to 08048260
And when I try to start the resulting executable, I get:
bash: ./test: No such file or directory
What am I doing wrong?
|