1
Mac / Re: Compiling on Catalina
« on: April 22, 2020, 11:52:25 pm »
Thanks a lot, that was indeed a great help.
First, regarding the issue with -llibcurl. I looked up on the net that referring to libcurl actually results in liblibcurl. So I modified build/default.mk like this:
3 CURL_LIBS ?= $(call PKG_LIBS,curl)
4 CURL_CFLAGS ?= $(call PKG_CFLAGS,curl)
This seems to have resolved the problem.
So I ran the ./configure again and indeed there were number of libraries reported as missing. I noticed the following:
So, one more time, would anyone know how I can tell the linker to look in /opt/local/include as well?
First, regarding the issue with -llibcurl. I looked up on the net that referring to libcurl actually results in liblibcurl. So I modified build/default.mk like this:
3 CURL_LIBS ?= $(call PKG_LIBS,curl)
4 CURL_CFLAGS ?= $(call PKG_CFLAGS,curl)
This seems to have resolved the problem.
So I ran the ./configure again and indeed there were number of libraries reported as missing. I noticed the following:
- header files reported as missing were located in /opt/local/include
- those it could find are in one or both of /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include or /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include
So, one more time, would anyone know how I can tell the linker to look in /opt/local/include as well?