darlinghq / darling

Darwin/macOS emulation layer for Linux

Home Page:http://www.darlinghq.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symbol not found: _kCTFontOpenTypeFeatureValue

godvino opened this issue · comments

Running a gtk4 application fails with the error Symbol not found: _kCTFontOpenTypeFeatureValue

Darling [/Volumes/SystemRoot/var/home/godvino/Projects/rcross]$ DYLD_LIBRARY_PATH=build/build/install/usr/local/lib/ ./build/src/rcross 
dyld: dyld cache load error: shared cache file open() failed
dyld: Symbol not found: _kCTFontOpenTypeFeatureValue
  Referenced from: build/build/install/usr/local/lib//libharfbuzz.0.dylib (which was built for Mac OS X 11.0)
  Expected in: /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
 in build/build/install/usr/local/lib//libharfbuzz.0.dylib
abort_with_payload: reason: dyld cache load error: shared cache file open() failed
Symbol not found: _kCTFontOpenTypeFeatureValue
  Referenced from: build/build/install/usr/local/lib//libharfbuzz.0.dylib (which was built for Mac OS X 11.0)
  Expected in: /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
 in build/build/install/usr/local/lib//libharfbuzz.0.dylib; code: 4
Abort trap: 6 (core dumped)

This is using darling at 557e7e9 installed from nixpkgs in a Fedora 38 toolbox container on a Fedora Silverblue 38 host.

Harfbuzz uses obscure/extensive corners of coretext, not surprised.