[MacPorts] #71882: Failed to configure ledger

MacPorts noreply at macports.org
Sun Jan 19 05:03:43 UTC 2025


#71882: Failed to configure ledger
-------------------------+--------------------
  Reporter:  brandelune  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.5
Resolution:              |   Keywords:
      Port:  ledger      |
-------------------------+--------------------

Comment (by brandelune):

 When building ledger from source, running it fails with:

 {{{
 dyld[89753]: Library not loaded:
 '/opt/local/Library/Frameworks/Python.framework/Versions/3.11/Python'
   Referenced from: '/opt/local/bin/ledger'
   Reason: tried:
 '/opt/local/Library/Frameworks/Python.framework/Versions/3.11/Python' (no
 such file), '/Library/Frameworks/Python.framework/Versions/3.11/Python'
 (no such file),
 '/System/Library/Frameworks/Python.framework/Versions/3.11/Python' (no
 such file)
 [1]    89753 abort      ledger
 }}}

 it looks like ledger depends on python 3.11 and not python 3.12 as `port
 info ledger` suggests:

 {{{
 ledger @3.3.2 (finance)
 Variants:             debug, gpgme, universal

 Description:          Ledger is a powerful, double-entry accounting system
 that is accessed from the UNIX command-line.
 Homepage:             https://ledger-cli.org/

 Build Dependencies:   cmake
 Library Dependencies: boost-jam, python312, libedit, gmp, mpfr, gettext,
 boost176
 Platforms:            darwin
 License:              BSD
 Maintainers:          none
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71882#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list