I don't access to 4g internet connection, so I installed cs50 library on my lubuntu for offline use, I put the cs50.h file in /usr/local/inlcude and the libcs50.a file in /usr/local/lib. Now when i use clang to compile, I get linker error. Check below attached images.
This is the code in my string.c file:
#include <stdio.h>
#include <cs50.h>
int main(void) {
string answer = get_string("What's your name?\n");
printf("hello, %s", answer);}