When I run the program that asks for input to print who is cool, the build fails. I get the question “Who is cool?”, but I can’t input anything and I get 2 errors which seem to be summarized in this message in Xcode
“Undefined symbols for architecture x86_64:
”_readline", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)"
I am using the newest version of Xcode 5 and also included the readline/readline.h at the top. Any ideas why this isn’t working?