Bug 24111 - gnucash can't find dependencies
Summary: gnucash can't find dependencies
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: José Jorge
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-02 07:11 CET by Doug Laidlaw
Modified: 2019-01-06 23:47 CET (History)
3 users (show)

See Also:
Source RPM: gnucash-3.4-3.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Doug Laidlaw 2019-01-02 07:11:43 CET
Description of problem:Gnucash dependencies libgncmod-**-utils are installed under  /usr/lib/gnucash, but gnucash can't find them.  Applies to /usr/lib64/gnucash/libgncmod-gnome-utils.so and ditto/libgncmod-app-utils.so at least


Version-Release number of selected component (if applicable):


How reproducible:  gnucash can't start.
I added a link from libgncmod-gnome-utils.so to /usr/lib64/libgncmod-gnome-utils.so, now libgncmod-app-utils.so is blocking the startup.


Steps to Reproduce:
1. See above.
2.
3.
Comment 1 Bit Twister 2019-01-02 15:56:57 CET
I confirm the problem.

Severity: normal => major
CC: (none) => bittwister2

Comment 2 Doug Laidlaw 2019-01-02 16:09:34 CET
The code for gnucash has been completely rewritten.  The folder /usr/lib64/gnucash contains about 18 library files and a subdirectory.  Re-linking them all was a bit of a chore, and may have made upgrading difficult.
Comment 3 Marja Van Waes 2019-01-02 21:15:42 CET
Assigning to the registered maintainer.

Assignee: bugsquad => lists.jjorge
CC: (none) => marja11

Comment 4 Stig-Ørjan Smelror 2019-01-06 14:34:57 CET
Hi.

Can you please try with gnucash 3.4-3 just built. It will be available on the mirrors shortly.

Cheers,
Stig

CC: (none) => smelror

Comment 5 Doug Laidlaw 2019-01-06 14:47:13 CET
Will do, Stig.  It is after midnight here.
Comment 6 Bit Twister 2019-01-06 15:14:04 CET
$ gnucash
gnucash: error while loading shared libraries: libgncmod-gnome-utils.so: cannot open shared object file: No such file or directory

$ uname --processor 
x86_64

Source RPM: gnucash-3.4-1.mga7 => gnucash-3.4-3.mga7.src.rpm

Comment 7 Doug Laidlaw 2019-01-06 15:33:56 CET
Thanks for checking, Bits.  Having a sleepless night.

Unfortunately, my Comment 2 contained references to my posts on the newsgroup. libgncmod-gnome-utils.so is in the same folder as the ones I mentioned.  My workaround was to add the folder /usr/lib64/gnucash to my LD_LIBRARY_PATH.  That was a complete cure for me as user.  No doubt the package could do the same as a system fix.
Comment 8 Stig-Ørjan Smelror 2019-01-06 16:10:01 CET
Thanks for testing.

Have pushed 3.4-4 with the help of Jani and Zezinho.

Cheers,
Stig
Comment 9 Doug Laidlaw 2019-01-06 18:41:13 CET
As of just now, libgnucash0 has reached the mirrors, but not the gnucash rpm itself.
Comment 10 Doug Laidlaw 2019-01-06 18:45:06 CET
The gnucash rpm has now arrived, and yes, it starts without any hitches.
Comment 11 Bit Twister 2019-01-06 18:45:36 CET
  Installed rpm : gnucash-3.4-4.mga7
$ gnucash ran setup to completion. 
Have not done any other testing. Meets the go/no go test for me.
Comment 12 Doug Laidlaw 2019-01-06 23:47:19 CET
Bug seems fixed. Allowing the installer to find those libraries was the entire bug; any other problem is a fresh bug. Closing.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.