I have been trying to use an included libevent in a program, however I have been receiving the error.
gcc lumberd.c Network.c ../Config.c -o lumberd.x
Undefined symbols for architecture x86_64:
"_event_base_new", referenced from:
_main in lumberd-c86954.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 thought it might be failing to link so I added the -L option and that gave me the same error. I know I have libevent installed in my /usr/local/include
directory.