Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#67817 closed defect (duplicate)

librsvg-devel: builds fail for macOS 10.11 and earlier, due to libcurl issue: dyld: lazy symbol binding failed: Symbol not found: _SCDynamicStoreCopyProxies

Reported by: mascguy (Christopher Nielsen) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: librsvg-devel curl

Description (last modified by mascguy (Christopher Nielsen))

Details for 10.9, though the pattern is identical for 10.11 and earlier:

cargo --locked build --verbose  --release --lib \
&& cd librsvg-devel/work/librsvg-2.56.3 && /bin/sh ./libtool  --tag=CC --mode=link /opt/local/bin/clang-mp-16
-isysroot/ -arch x86_64  -lobjc -Wl,-syslibroot,/ -arch x86_64 -o librsvg_c_api.la _rsvg_dummy.lo
&& mv librsvg-devel/work/librsvg-2.56.3/target/x86_64-apple-darwin/release/librsvg.a .libs/librsvg_c_api.a

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

Testing locally on 10.9, with the published binary for curl, I see the same issue. But port rev-upgrade doesn't report any issues, so it's not immediately apparent whether curl needs to be rev-bumped... or whether a recent change caused this issue.

Change History (6)

comment:1 Changed 16 months ago by mascguy (Christopher Nielsen)

There were two recent changes to curl, made within the last week:

Next up is testing with the previous version of curl (8.1.2), to see whether that fixes the issue.

Last edited 16 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 in reply to:  1 Changed 16 months ago by mascguy (Christopher Nielsen)

Replying to mascguy:

There were two recent changes to curl, made within the last week:

Next up is testing with the previous version of curl (8.1.2), to see whether that fixes the issue.

No need, it looks like this is a confirmed upstream issue:

https://github.com/curl/curl/issues/9806#issuecomment-1295908894

The solution appears to be linking against frameworks Foundation and SystemConfiguration:

https://stackoverflow.com/questions/7781151/error-on-scdynamicstorecopyproxies-not-symbol-found/56157695#56157695

Last edited 16 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 16 months ago by mascguy (Christopher Nielsen)

Ah, this issue is being tracked by curl ticket: issue:67803

comment:4 Changed 16 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)
Summary: librsvg-devel: builds fail for older macOS releases, due to libcurl issue: dyld: lazy symbol binding failed: Symbol not found: _SCDynamicStoreCopyProxieslibrsvg-devel: builds fail for macOS 10.11 and earlier, due to libcurl issue: dyld: lazy symbol binding failed: Symbol not found: _SCDynamicStoreCopyProxies

comment:5 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: assignedclosed

comment:6 Changed 16 months ago by mascguy (Christopher Nielsen)

Queued builds for librsvg-devel, now that curl fixed.

Note: See TracTickets for help on using tickets.