Starting sometime in the last month or two, gnucash has begun to refuse to launch. (dev@kramer)[~] % gnucash gnucash-bin: error while loading shared libraries: libgncmod-engine.so: wrong ELF class: ELFCLASS32 Version-Release number of selected component (if applicable): (dev@kramer)[~] % rpm -qa gnucash gnucash-2.2.1-2.fc7 gnucash-2.2.1-2.fc7 (dev@kramer)[~] % How reproducible: Always. Steps to Reproduce: 1. Launch gnucash, from command line if you wish to see the error message.
Reinstalling the x86_64 version with --force should do the trick.
Just for some additional info, before filing the ticket I tried removing the i386 version as I thought perhaps it was no longer needed (given the error message) which clearly did not work. I then removed gnucash completely and reinstalled with yum, and the same error was present. I wasn't sure how to reinstall with --force as the rpm wasn't on the system, but I tried removing the x86_64 version with the following: (root@kramer)[~] # rpm -e gnucash.x86_64 (root@kramer)[~] # yum install gnucash Setting up Install Process Parsing package install arguments Package gnucash - 2.2.1-2.fc7.i386 is already installed. Resolving Dependencies --> Running transaction check ---> Package gnucash.x86_64 0:2.2.1-2.fc7 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: gnucash x86_64 2.2.1-2.fc7 updates 5.6 M Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 5.6 M Is this ok [y/N]: y Downloading Packages: (1/1): gnucash-2.2.1-2.fc 100% |=========================| 5.6 MB 00:09 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Check Error: file /usr/bin/gnc-fq-check from install of gnucash-2.2.1-2.fc7 conflicts with file from package gnucash-2.2.1-2.fc7 file /usr/bin/gnc-fq-helper from install of gnucash-2.2.1-2.fc7 conflicts with file from package gnucash-2.2.1-2.fc7 file /usr/bin/gnc-fq-update from install of gnucash-2.2.1-2.fc7 conflicts with file from package gnucash-2.2.1-2.fc7 file /usr/bin/gnucash from install of gnucash-2.2.1-2.fc7 conflicts with file from package gnucash-2.2.1-2.fc7 file /usr/bin/gnucash-valgrind from install of gnucash-2.2.1-2.fc7 conflicts with file from package gnucash-2.2.1-2.fc7 file /usr/libexec/gnucash/overrides/gnucash-env from install of gnucash-2.2.1-2.fc7 conflicts with file from package gnucash-2.2.1-2.fc7 Error Summary ------------- (root@kramer)[~] # find /var -name "*gnucash*.rpm" /var/cache/yum/updates/packages/gnucash-2.2.1-2.fc7.x86_64.rpm (root@kramer)[~] # rpm -i --force /var/cache/yum/updates/packages/gnucash-2.2.1-2.fc7.x86_64.rpm (root@kramer)[~] # The suggested workaround works properly, I can now launch gnucash again once I follow the above steps. (thanks!)
What version of rpm do you have installed?
rpm-4.4.2.2-2.fc7
If you do: 'rpm -e --allmatches gnucash' 'yum install gnucash' do you get the broken behavior?
Yes. Same error persists.
gnucash-2.2.1-4.fc7, gnucash-docs-2.2.0-2.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gnucash gnucash-docs'
gnucash-2.2.1-4.fc7, gnucash-docs-2.2.0-2.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.