[GNC] gnucash on debian problem

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC] gnucash on debian problem

John Griessen-3
Every time I try to upgrade from
gnucash          1:2.6.14-1          AMD64
to more recent
on debian it fails.

Is there a work around or do I need to compile from scratch to use on debian now?
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] gnucash on debian problem

Colin Law
In what way does it fail?

Colin

On Tue, 10 Jul 2018, 03:06 John Griessen, <[hidden email]> wrote:

> Every time I try to upgrade from
> gnucash          1:2.6.14-1          AMD64
> to more recent
> on debian it fails.
>
> Is there a work around or do I need to compile from scratch to use on
> debian now?
> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] gnucash on debian problem

John Griessen-3
On 07/10/2018 01:13 AM, Colin Law wrote:
> In what way does it fail?
>
> Colin

Attempt to start gnucash:

gnucash: symbol lookup error: /usr/lib/x86_64-linux-gnu/gnucash/gnucash/libgncmod-app-utils.so: undefined symbol:
gnc_build_userdata_path

_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] gnucash on debian problem

Colin Law
On Sat, 14 Jul 2018, 03:15 John Griessen, <[hidden email]> wrote:

> On 07/10/2018 01:13 AM, Colin Law wrote:
> > In what way does it fail?
> >
> > Colin
>
> Attempt to start gnucash:
>
> gnucash: symbol lookup error:
> /usr/lib/x86_64-linux-gnu/gnucash/gnucash/libgncmod-app-utils.so: undefined
> symbol:
> gnc_build_userdata_path
>

Oh, you said the attempted upgrade failed. So after upgrading you get that
error. How did you upgrade and what is shown by
apt-cache policy gnucash
Also what is shown by
which gnucash

Colin



> _______________________________________________
> gnucash-user mailing list
> [hidden email]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] gnucash on debian problem

John Griessen-3
On 07/14/2018 01:49 AM, Colin Law wrote:
>     Attempt to start gnucash:
>
>     gnucash: symbol lookup error: /usr/lib/x86_64-linux-gnu/gnucash/gnucash/libgncmod-app-utils.so: undefined symbol:
>     gnc_build_userdata_path
>
>
> Oh, you said the attempted upgrade failed. So after upgrading you get that error. How did you upgrade

sudo apt install gnucash

and what is shown by
> apt-cache policy gnucash

apt-cache policy gnucash
gnucash:
   Installed: 1:3.2-1
   Candidate: 1:3.2-1
   Version table:
  *** 1:3.2-1 180
         180 http://deb.debian.org/debian unstable/main amd64 Packages
         100 /var/lib/dpkg/status
      1:2.6.15-1 160
         160 http://deb.debian.org/debian stable/main amd64 Packages

ll /usr/bin/gnucash
-rwxr-xr-x 1 root root 35888 Jul  4 04:21 /usr/bin/gnucash

With above done I get the error.

=================================================================================================
To use gnucash, I go back to packages from the past:

For the last working version, I install by
dpkg -i gnucash_1%3a2.6.14-1_amd64.deb gnucash-common_1%3a2.6.14-1_all.deb

with the above 2.6.14 version installed:

apt-cache policy gnucash
gnucash:
   Installed: 1:2.6.14-1
   Candidate: 1:2.6.14-1
   Version table:
      1:3.2-1 180
         180 http://deb.debian.org/debian unstable/main amd64 Packages
      1:2.6.15-1 160
         160 http://deb.debian.org/debian stable/main amd64 Packages
  *** 1:2.6.14-1 1100
         100 /var/lib/dpkg/status



Thanks for thinking about this,

--
John
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] gnucash on debian problem

Colin Law
On 14 July 2018 at 21:06, John Griessen <[hidden email]> wrote:

> On 07/14/2018 01:49 AM, Colin Law wrote:
>
>>     Attempt to start gnucash:
>>
>>     gnucash: symbol lookup error: /usr/lib/x86_64-linux-gnu/gnuc
>> ash/gnucash/libgncmod-app-utils.so: undefined symbol:
>>     gnc_build_userdata_path
>>
>>
>> Oh, you said the attempted upgrade failed. So after upgrading you get
>> that error. How did you upgrade
>>
>
> sudo apt install gnucash
>
> and what is shown by
>
>> apt-cache policy gnucash
>>
>
> apt-cache policy gnucash
> gnucash:
>   Installed: 1:3.2-1
>   Candidate: 1:3.2-1
>   Version table:
>  *** 1:3.2-1 180
>         180 http://deb.debian.org/debian unstable/main amd64 Packages
>         100 /var/lib/dpkg/status
>      1:2.6.15-1 160
>         160 http://deb.debian.org/debian stable/main amd64 Packages
>
> ll /usr/bin/gnucash
> -rwxr-xr-x 1 root root 35888 Jul  4 04:21 /usr/bin/gnucash
>
> With above done I get the error.
>
> ============================================================
> =====================================
> To use gnucash, I go back to packages from the past:
>
> For the last working version, I install by
> dpkg -i gnucash_1%3a2.6.14-1_amd64.deb gnucash-common_1%3a2.6.14-1_all.deb
>
> with the above 2.6.14 version installed:
>
> apt-cache policy gnucash
> gnucash:
>   Installed: 1:2.6.14-1
>   Candidate: 1:2.6.14-1
>   Version table:
>      1:3.2-1 180
>         180 http://deb.debian.org/debian unstable/main amd64 Packages
>      1:2.6.15-1 160
>         160 http://deb.debian.org/debian stable/main amd64 Packages
>  *** 1:2.6.14-1 1100
>         100 /var/lib/dpkg/status
>
>
When you install one or the other like that are you removing the one that
was there before?  If not then you may have bits of both versions
installed.  I would try purging both of them (check that the files in the
folder mentioned in the error are gone) and then just install 3.2.  If you
want to switch back then uninstall that one before installing the other.

If 3.2 still doesn't work then perhaps it is a packaging error in Debian.

Colin
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] gnucash on debian problem

John Griessen-3
In reply to this post by John Griessen-3
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@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,

--
John Griessen
industromatic.com  Austin TX  building lab gear for biologists
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Liz
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] gnucash on debian problem

Liz
In reply to this post by John Griessen-3
On Sat, 14 Jul 2018 17:47:40 -0500
Mike Reinehr <[hidden email]> 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. All of the
> shared libraries that Gnucash 3.2-1 will need may not be installed or
> of the correct version. You may need to upgrade libraries as well as
> Gnucash.
>
> HTH.
>
> CMR

The package manager should prevent that situation arising.

Liz
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Liz
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] gnucash on debian problem

Liz
In reply to this post by John Griessen-3
On Sat, 14 Jul 2018 18:36:33 -0500
John Griessen <[hidden email]> 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@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





_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Reply | Threaded
Open this post in threaded view
|

Re: [GNC] gnucash on debian problem

Bert Riding
In reply to this post by John Griessen-3
Debian unstable here, with 3.2 installed.  I find that the files under
/usr/lib/x86_64-linux-gnu/gnucash/gnucash, which seem to be what your
computer is complaining about, are installed by the gnucash package.
Do those libraries exist?  Are the permissions correct?  Are your
package files corrupted somehow?  You could try to erase the package
from /var/cache/apt/archive and download it again.  Is your disk
full?   Otherwise it's a mystery to me.


On Sat, 14 Jul 2018 18:36:33 -0500
John Griessen <[hidden email]> 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@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,
>


--
Bert Riding      
[hidden email]  
_______________________________________________
gnucash-user mailing list
[hidden email]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.