darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.55k stars 447 forks source link

GUI app MoneyMoney fails to start #1452

Open PeterPablo opened 1 year ago

PeterPablo commented 1 year ago

Expected Result MoneyMoney does start

Actual Result

Darling [/Volumes/SystemRoot/home/pp]$ /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney                                           
dyld: dyld cache load error: shared cache file open() failed                                                                               
dyld: Symbol not found: _IKImageBrowserBackgroundColorKey                                                                                  
  Referenced from: /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney                                                                  
  Expected in: /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz                                                               
 in /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney                                                                                 
abort_with_payload: reason: dyld cache load error: shared cache file open() failed                                                         
Symbol not found: _IKImageBrowserBackgroundColorKey                                                                                        
  Referenced from: /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney                                                                  
  Expected in: /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz                                                               
 in /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney; code: 4                                                                        
Abort trap: 6 (core dumped)

Steps To Reproduce

  1. pp@lenovo:~$ sudo dpkg -i darling_0.1.20230310.jammy_amd64.deb
  2. pp@lenovo:~$ sudo apt --fix-broken install Reading package lists... Done Building dependency tree... Done Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: libc6-i386
  3. pp@lenovo:~$ sudo dpkg -i darling_0.1.20230310.jammy_amd64.deb
  4. Darling [/Volumes/SystemRoot/home/pp]$ installer -pkg Downloads/MoneyMoney.pkg -target /
  5. Darling [/Volumes/SystemRoot/home/pp]$ /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney
  6. observe above stated error output

System Information pp@lenovo:~$ uname -a
Linux lenovo 6.5.0-10-generic #10-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 13 13:49:38 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

pp@lenovo:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 23.10 Release: 23.10
Codename: mantic

darling_0.1.20230310.jammy_amd64.deb

PeterPablo commented 1 year ago

Demo dmg can be directly downloaded from https://moneymoney-app.com/download/

PeterPablo commented 8 months ago

Can someone kindly comment and give a hint?

sirnacnud commented 5 months ago

This symbol has actually been implemented here, but you need to build Darling yourself from source rather than using deb release.

I tried running MoneyMoney myself, but looks like there is a missing WebKit symbol:

Darling [~/Applications]$ /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney 
dyld: Symbol not found: _WebActionNavigationTypeKey
  Referenced from: /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney
  Expected in: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
 in /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney
abort_with_payload: reason: Symbol not found: _WebActionNavigationTypeKey
  Referenced from: /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney
  Expected in: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
 in /Applications/MoneyMoney.app/Contents/MacOS/MoneyMoney; code: 4
Abort trap: 6 (core dumped)