[GNC] gnucash on debian problem

Liz edodd at billiau.net
Sat Jul 14 23:42:50 EDT 2018


On Sat, 14 Jul 2018 18:36:33 -0500
John Griessen <john at industromatic.com> wrote:

> On 07/14/2018 05:47 PM, Mike Reinehr wrote:
> > John,
> > 
> > It appears that you are installing Gnucash from the Unstable
> > repository of Debian. What is the version of Debian that you are
> > running? If it is not Unstable, i.e., Stable or Testing, then you
> > might be running into a conflict of library versions.  
> 
> Unpacking gnucash (1:2.6.15-1) over (1:2.6.14-1) ...
> Preparing to unpack .../gnucash-common_1%3a2.6.15-1_all.deb ...
> Unpacking gnucash-common (1:2.6.15-1) over (1:2.6.14-1) ...
> 
> 
> ./gnucashit
> john at toolbench64 [books-ecosensory]gnucash: error while loading
> shared libraries: libgncmod-ledger-core.so: cannot open shared object
> file: No such file or directory
> 
> So now I get another error.  Might be easier to figure out...
> 
> Thanks,
> 

I'm on Debian buster/sid
and did a dry run first


$ sudo apt-get install -s gnucash
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer
required: guile-2.0 guile-2.0-libs libart-2.0-2 libglade2-0
libgnomecanvas2-0 libgnomecanvas2-common libgoffice-0.8-8
libgoffice-0.8-8-common libgwengui-gtk2-0 libjavascriptcoregtk-1.0-0
libwebkitgtk-1.0-0 Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gnucash-common guile-2.2 guile-2.2-libs libboost-regex1.62.0
libicu-le-hb0 libicu60 python3-gnucash
Suggested packages:
  libdbd-mysql libdbd-pgsql libdbd-sqlite3 guile-2.2-doc
The following packages will be REMOVED:
  python-gnucash
The following NEW packages will be installed:
  guile-2.2 guile-2.2-libs libicu-le-hb0 libicu60 python3-gnucash
The following packages will be upgraded:
  gnucash gnucash-common libboost-regex1.62.0
3 upgraded, 5 newly installed, 1 to remove and 1345 not upgraded.
Remv python-gnucash [1:2.6.19-1]
Inst gnucash [1:2.6.19-1] (1:3.2-1 Debian:unstable [amd64]) []
Inst gnucash-common [1:2.6.19-1] (1:3.2-1 Debian:unstable [all]) []
Inst guile-2.2-libs (2.2.3+1-5 Debian:unstable [amd64]) []
Inst libicu-le-hb0 (1.0.3+git161113-5 Debian:testing, Debian:unstable
[amd64]) [] Inst libicu60 (60.2-6 Debian:testing, Debian:unstable
[amd64]) [] Inst libboost-regex1.62.0 [1.62.0+dfsg-5+b1] (1.62.0+dfsg-7
Debian:unstable [amd64]) [] Inst guile-2.2 (2.2.3+1-5 Debian:unstable
[amd64]) Inst python3-gnucash (1:3.2-1 Debian:unstable [amd64])
Conf gnucash (1:3.2-1 Debian:unstable [amd64])
Conf gnucash-common (1:3.2-1 Debian:unstable [all])
Conf guile-2.2-libs (2.2.3+1-5 Debian:unstable [amd64])
Conf libicu-le-hb0 (1.0.3+git161113-5 Debian:testing, Debian:unstable
[amd64]) Conf libicu60 (60.2-6 Debian:testing, Debian:unstable [amd64])
Conf libboost-regex1.62.0 (1.62.0+dfsg-7 Debian:unstable [amd64])
Conf guile-2.2 (2.2.3+1-5 Debian:unstable [amd64])
Conf python3-gnucash (1:3.2-1 Debian:unstable [amd64])


After that I did an actual install.
It ran fine.

$ gnucash


Notice

Your gnucash metadata has been migrated .

Old location: /home/liz/.gnucash
New location: /home/liz/.local/share/gnucash

If you no longer intend to run GnuCash 2.6.x or older on this system
you can safely remove the old directory.
Found Finance::Quote version 1.47
Gtk-Message: 13:33:57.682: GtkDialog mapped without a transient parent.
This is discouraged.



With that info, I suggest that you run

sudo apt upgrade
sudo apt install -fix-missing

and then 

sudo apt install -s gnucash
to simulate the install 

Odd situations like yours can occur when you run apt update on a Sunday
and the mirrors are not synchronised (well that's my experience over
many years)

Liz







More information about the gnucash-user mailing list