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?
Still don't know what I did wrong, but if I let gcc do the linking, there's no problem.
gcc -o test test.c -lcurses
|All times are GMT -5. The time now is 01:59 PM.|