Quote Originally Posted by ct
I already have the path in the $PATH of the system...
PATH is for binaries, not libraries.

Quote Originally Posted by ct
Also something about the big L and why it is needed as I already have -lcurl saying curl library is being used.
-L<dir> tells the linker that it should look for libraries also in <dir>, while -l<lib> tells it to link with the library <lib>.