I'm trying to compile a main.c
file using a library called libft_malloc.so
that I've already created and put it in the same directory as the file, but it generates an error saying library not found.
Compilation goes like this:
$> gcc main.c -L. -lft_malloc.so -Iinclude
ld: library not found for -lft_malloc.so
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm using an macOS.