I was having trouble with the using readline() challenge. I tried copy and pasting some of the solutions posted here and I still get errors. #import <readline/readline.h> was included in the code. I keep getting the following two errors on each code I copy and paste:
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)
Is there a step that I’m missing? Thanks.