[MacPorts] #18847: Gnucash Upgrade Failed
#18847: Gnucash Upgrade Failed -----------------------------------+---------------------------------------- Reporter: chacko.biju@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: -----------------------------------+---------------------------------------- After upgrade of gnucash, I get the following error: bash-3.2$ /opt/local/bin/gnucash dyld: Library not loaded: /opt/local/lib/libgtk-x11-2.0.0.dylib Referenced from: /opt/local/bin/gnucash-bin Reason: image not found Trace/BPT trap -- Ticket URL: <http://trac.macports.org/ticket/18847> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18847: Gnucash Upgrade Failed -----------------------------------+---------------------------------------- Reporter: chacko.biju@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gnucash -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * port: => gnucash Comment: What is the result of the following command? {{{ port installed gtk2 }}} Please try the following: {{{ sudo port selfupdate sudo port upgrade outdated }}} -- Ticket URL: <http://trac.macports.org/ticket/18847#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18847: Gnucash Upgrade Failed -----------------------------------+---------------------------------------- Reporter: chacko.biju@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gnucash -----------------------------------+---------------------------------------- Old description:
After upgrade of gnucash, I get the following error:
bash-3.2$ /opt/local/bin/gnucash dyld: Library not loaded: /opt/local/lib/libgtk-x11-2.0.0.dylib Referenced from: /opt/local/bin/gnucash-bin Reason: image not found Trace/BPT trap
New description: After upgrade of gnucash, I get the following error: {{{ bash-3.2$ /opt/local/bin/gnucash dyld: Library not loaded: /opt/local/lib/libgtk-x11-2.0.0.dylib Referenced from: /opt/local/bin/gnucash-bin Reason: image not found Trace/BPT trap }}} -- Comment(by blb@…): Also, what command did you use to upgrade gnucash, and what was the old version? -- Ticket URL: <http://trac.macports.org/ticket/18847#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18847: Gnucash Upgrade Failed -----------------------------------+---------------------------------------- Reporter: chacko.biju@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gnucash -----------------------------------+---------------------------------------- Comment(by chacko.biju@…): Replying to [comment:2 blb@…]:
Also, what command did you use to upgrade gnucash, and what was the old version? I ran the following commands, to upgrade from v2.2.5:
{{{ sudo port upgrade gnucash sudo port upgrade outdated }}} {{{ port installed gtk2 The following ports are currently installed: gtk2 @2.12.9_0+x11 gtk2 @2.14.7_1+x11 }}} -- Ticket URL: <http://trac.macports.org/ticket/18847#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18847: Gnucash Upgrade Failed -----------------------------------+---------------------------------------- Reporter: chacko.biju@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gnucash -----------------------------------+---------------------------------------- Comment(by blb@…): And idea why gtk2 isn't active? The latest should be, and is what should provide the missing file; you can {{{ sudo port activate gtk2 @2.14.7_1+x11 }}} to activate it now. -- Ticket URL: <http://trac.macports.org/ticket/18847#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18847: Gnucash Upgrade Failed -----------------------------------+---------------------------------------- Reporter: chacko.biju@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: gnucash -----------------------------------+---------------------------------------- Comment(by chacko.biju@…): Replying to [comment:4 blb@…]:
And idea why gtk2 isn't active? The latest should be, and is what should provide the missing file; you can {{{ sudo port activate gtk2 @2.14.7_1+x11 }}} to activate it now.
Thanks, I ran the following commands and it seems to work now: {{{ ---> Activating gtk2 @2.14.7_1+x11 Error: port activate failed: Image error: /opt/local/include/gail-1.0/gail/gailwidget.h is being used by the active gail port. Please deactivate this port first, or use the -f flag to force the activation. macpro:~ bijuchacko$ port installed gail The following ports are currently installed: gail @1.22.1_0 (active) macpro:~ bijuchacko$ sudo port deactivate gail ---> Deactivating gail macpro:~ bijuchacko$ sudo port activate gtk2 @2.14.7_1+x11 ---> Activating gtk2 @2.14.7_1+x11 }}} -- Ticket URL: <http://trac.macports.org/ticket/18847#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18847: Gnucash Upgrade Failed ------------------------------------+--------------------------------------- Reporter: chacko.biju@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: invalid | Keywords: Port: gnucash | ------------------------------------+--------------------------------------- Changes (by blb@…): * status: new => closed * resolution: => invalid Comment: Note that gail can be uninstalled completely (though you may have to {{{sudo port -f uninstall gail}}}) as it was integrated into gtk2 (hence the conflict you ran into). -- Ticket URL: <http://trac.macports.org/ticket/18847#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts