When linking my program on macOS High Sierra 10.13.1, I get an error message
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The linker flag -lssl
is returned by mysql_config
in the makefile:
LFLGS := $(shell mysql_config --libs)
The makefile had been working fine for quite some time, so I suspect the problem was caused by upgrading macOS recently. I also updated mysql to the latest version, 5.7.20, but this hasn't resolved the issue.