[MacPorts] #67803: curl @8.2.0: libcurl.4.dylib : _SCDynamicStoreCopyProxies Symbol not found

MacPorts noreply at macports.org
Sun Jul 23 10:21:06 UTC 2023


#67803: curl @8.2.0: libcurl.4.dylib : _SCDynamicStoreCopyProxies Symbol not found
-------------------------+------------------------
  Reporter:  BjarneDMat  |      Owner:  ryandesign
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:
      Port:  curl        |
-------------------------+------------------------

Comment (by ryandesign):

 And indeed the problem occurs on the command line too (this is on OS X
 10.8):

 {{{
 $ curl --version
 dyld: lazy symbol binding failed: Symbol not found:
 _SCDynamicStoreCopyProxies
   Referenced from: /opt/local/lib/libcurl.4.dylib
   Expected in: flat namespace

 dyld: Symbol not found: _SCDynamicStoreCopyProxies
   Referenced from: /opt/local/lib/libcurl.4.dylib
   Expected in: flat namespace

 Trace/BPT trap: 5
 }}}

 config.log says of this test:
 {{{
 configure:21697: checking whether to link macOS CoreFoundation and
 SystemConfiguration framework
 configure:21721: /usr/bin/clang -std=gnu11 -c -pipe -Os -mmacosx-version-
 min=10.8 -arch x86_64 -Qunused-arguments -Wno-pointer-bool-conversion
 -Werror=partial-availability -I/opt/local/include conftest.c >&5
 warning: unknown warning option '-Wno-pointer-bool-conversion'; did you
 mean '-Wno-literal-conversion'? [-Wunknown-warning-option]
 warning: unknown warning option '-Werror=partial-availability'; did you
 mean '-Werror=availability'? [-Wunknown-warning-option]
 conftest.c:34:2: error: Not a macOS
 #error Not a macOS
  ^
 2 warnings and 1 error generated.
 configure:21721: $? = 1
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME "curl"
 | #define PACKAGE_TARNAME "curl"
 | #define PACKAGE_VERSION "-"
 | #define PACKAGE_STRING "curl -"
 | #define PACKAGE_BUGREPORT "a suitable curl mailing list:
 https://curl.se/mail/"
 | #define PACKAGE_URL ""
 | #define HAVE_STDIO_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_UNISTD_H 1
 | #define STDC_HEADERS 1
 | #define PACKAGE "curl"
 | #define VERSION "-"
 | #define OS "x86_64-apple-darwin12.6.0"
 | #define HAVE_DLFCN_H 1
 | #define LT_OBJDIR ".libs/"
 | /* end confdefs.h.  */
 |
 |
 | #include <TargetConditionals.h>
 |
 | int main (void)
 | {
 |
 | #if (TARGET_OS_OSX)
 |       return 0;
 | #else
 | #error Not a macOS
 | #endif
 |
 |  ;
 |  return 0;
 | }
 |
 configure:21737: result: no
 }}}

 It's checking for `TARGET_OS_OSX` which didn't exist until the macOS 10.12
 SDK. I filed a bug with the curl developers:
 https://github.com/curl/curl/issues/11502

-- 
Ticket URL: <https://trac.macports.org/ticket/67803#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list