darlinghq/darling

_kCFStreamErrorDomainWinSock not found in CoreServices.framework

Open

#873 opened on Sep 17, 2020

 (2 comments) (0 reactions) (0 assignees)Objective-C (501 forks)batch import
Good First IssueMissing Symbols

Repository metrics

Stars
 (12,769 stars)
PR merge metrics
 (Avg merge 26d 1h) (2 merged PRs in 30d)

Description

Test Application AdobeUpdateServerSetupTool (Command line program from the macOS AUSST package)

Expected Result Program runs without issue on macOS.

Actual Result Program doesn't run, instead we get an dyld error about a missing symbol.

Steps To Reproduce

  1. build Darling from source
  2. run AdobeUpdateServerSetupTool from the Darling shell.
  3. on Darling but NOT macOS we get the following error:
Darling [/Volumes/SystemRoot/usr/local/AUSST]$ ls -al
total 33880
drwxr-xr-x   2 administrator  administrator     4096 17 Sep 19:23 .
drwxr-xr-x  12 administrator  administrator     4096 17 Sep 19:24 ..
-rwxr-xr-x   1 administrator  administrator  1190208 17 Sep 20:57 AdobeUpdateServerSetupTool
-rwxr-xr-x   1 administrator  administrator  7838368 17 Sep 20:57 HDPIM.dylib
-rwxr-xr-x   1 administrator  administrator  6413616 17 Sep 20:57 HUM.dylib
-rwxr-xr-x   1 administrator  administrator  1892352 17 Sep 20:57 unar
Darling [/Volumes/SystemRoot/usr/local/AUSST]$ ./AdobeUpdateServerSetupTool 
dyld: Symbol not found: _kCFStreamErrorDomainWinSock
  Referenced from: /Volumes/SystemRoot/usr/local/AUSST/AdobeUpdateServerSetupTool
  Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
 in /Volumes/SystemRoot/usr/local/AUSST/AdobeUpdateServerSetupTool
abort_with_payload: reason: Symbol not found: _kCFStreamErrorDomainWinSock
  Referenced from: /Volumes/SystemRoot/usr/local/AUSST/AdobeUpdateServerSetupTool
  Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
 in /Volumes/SystemRoot/usr/local/AUSST/AdobeUpdateServerSetupTool; code: 4
Abort trap: 6
Darling [/Volumes/SystemRoot/usr/local/AUSST]$ 

This seems strange to me, because that symbol is located in CFNetwork.framework. So why does dyld expect to find it in CoreServices.framework? Any hints to work around or solve the issue are greatly appreciated! :-)

System Information Darling: Debian Bullseye (Testing, as of 2020-09-17) macOS: 10.15.6

Software Version
Darling 2020-09-17
AUSST 2020-05-21

Contributor guide