Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing _CTFontCollectionCreateFromAvailableFonts symbol #1527

Open
Lazerbeak12345 opened this issue Jul 1, 2024 · 0 comments
Open

Missing _CTFontCollectionCreateFromAvailableFonts symbol #1527

Lazerbeak12345 opened this issue Jul 1, 2024 · 0 comments

Comments

@Lazerbeak12345
Copy link

Lazerbeak12345 commented Jul 1, 2024

Expected Result
What did you expect to happen?

The application would not error on missing this symbol

Actual Result
What did happen?

Inkscape 0.92.2 (an Intel Darling X11 app) has this in it's xtrace logs before a coredump:

dyld: lazy symbol binding failed: Symbol not found: _CTFontCollectionCreateFromAvailableFonts
  Referenced from: /Applications/Inkscape.app/Contents/Resources/bin/../lib/libpangocairo-1.0.0.dylib
  Expected in: /System/Library/Frameworks/ApplicationService[42]         {local = move send-once 1543, id = 516}, 20 bytes of inline data
s.framework/Versions/A/ApplicationServices

dyld: dyld cache load error: shared cache file open() failed
[42]         job::swap_integer() -> 0
dyld: Symbol not found: _CTFontCollectionCreateFromAvailableFonts
  Referenced from: /Applications/Inkscape.app/Contents/Resources/bin/../lib/libpangocairo-1.0.0.dylib
  Expected in: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices


Emergency save activated!
Abort trap: 6 (core dumped)

Steps To Reproduce

  1. If possible, what steps can you take to reproduce the issue?

The command used to run this was to first install the app to /Applications then to run:

cd /Applications/Inkscape.app/
DISPLAY=/Volumes/SystemRoot/tmp/.X11-unix/X1 xtrace ./Contents/Resources/bin/inkscape-bin

(at time of discovery, anything less complicated would not be able to get nearly this far, and would most likely bail out due to missing X11 connection or missing xml files)

System Information
What system are you using?

Software Version
Linux Kernel 6.9.7-artix1-1
Darling $ yay -Qi darling
Name : darling-bin
Version : 0.1.20230310-1
Architecture : x86_64

Other info

This was found in my research of what might be needed for X11 apps to function under Darling, posted in the Discord here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant