Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18847 closed defect (invalid)

Gnucash Upgrade Failed

Reported by: chacko.biju@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: gnucash

Description (last modified by blb@…)

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

Change History (7)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Port: gnucash added

What is the result of the following command?

port installed gtk2

Please try the following:

sudo port selfupdate
sudo port upgrade outdated

comment:2 Changed 15 years ago by blb@…

Description: modified (diff)

Also, what command did you use to upgrade gnucash, and what was the old version?

comment:3 in reply to:  2 Changed 15 years ago by chacko.biju@…

Replying to 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

comment:4 Changed 15 years ago 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.

comment:5 in reply to:  4 Changed 15 years ago by chacko.biju@…

Replying to 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

comment:6 Changed 15 years ago by blb@…

Resolution: invalid
Status: newclosed

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).

comment:7 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.