Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th February 2008, 07:26 PM
tinti's Avatar
tinti Offline
Registered User
 
Join Date: Oct 2006
Posts: 38
gnuCash in F8

Hi,

I have a problem starting gnucash on my F8 box, tried already compiling the package myself, but with the same result.

Error message when launching gnucash:
gnucash-bin: error while loading shared libraries: /usr/lib/libc.so.6: invalid ELF header

Error message when launching gnucash-bin:
gnucash-bin: error while loading shared libraries: libgnc-qof.so.1: cannot open shared object file: No such file or directory

find /usr/lib -name *libc.so* returns:
/usr/lib/libc.so
/usr/lib/libc.so.6

find /usr/lib -name *gnc-qof* returns:
/usr/lib/gnucash/libgnc-qof.so.1.0.4
/usr/lib/gnucash/libgnc-qof.so
/usr/lib/gnucash/libgnc-qof.so.1

tried also the F9 rpms from the development tree including updating goffice and some other libs, but still the same error message as shown above.

Did someone got the same issue with gnucash?

Cheers,
tinti
Reply With Quote
  #2  
Old 4th February 2008, 07:42 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,304
It works fine for me, how did you install gnucash and its dependencies? Yum?

My installation does not have a libgnc-qof.* at all, it doesn't exist on my drive anywhere and yum doesn't find a package that provides it. Do you have any idea where that library came from? If you install everything via RPM you can try "rpm -qf /usr/lib/gnucash/libgnc-qof.so.1.0.4".
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #3  
Old 4th February 2008, 08:01 PM
tinti's Avatar
tinti Offline
Registered User
 
Join Date: Oct 2006
Posts: 38
rpm -qf /usr/lib/gnucash/libgnc-qof.so.1.0.4
gnucash-2.2.3-2.fc9

ok, I will remove the F9 packages an try again with the F8 RPMS.

Thanks
Reply With Quote
  #4  
Old 4th February 2008, 08:03 PM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,934
For what it's worth it's been working fine for me also. Fedora 7 and 8. Installed via yum.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #5  
Old 4th February 2008, 08:38 PM
tinti's Avatar
tinti Offline
Registered User
 
Join Date: Oct 2006
Posts: 38
Nope, with F8 RPMS still the same error:

gnucash
gnucash-bin: error while loading shared libraries: /usr/lib/libc.so.6: invalid ELF header

Can somebody explain why gnucash reports errors about invalid ELF header on libc? Shouldn't there be other programs reporting this error too?
Reply With Quote
  #6  
Old 4th February 2008, 10:07 PM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,345
Hello tinti

No consolation to you I'm sure, but I also use Gnucash on Fedora 8 from the usual repositories with no noticable problems or error messages.

I suspect that you have altered something in one of the basic Fedora libraries when you tried to compile Gnucash from source or when you installed the F9 rpms.

Neither are particularly advisable options.
Reply With Quote
  #7  
Old 5th February 2008, 08:03 AM
tinti's Avatar
tinti Offline
Registered User
 
Join Date: Oct 2006
Posts: 38
Hi, there should have been something altered before doing anything like compiling or installing the F9 RPMS.
I've made an installation from the F8 repos on my office machine and it works perfectly, can someone please check if you have a file /usr/lib/libc.so.6 as I don't have it on my office PC, but gnucash is working.
Reply With Quote
  #8  
Old 5th February 2008, 10:31 AM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,345
Hello tinti

No, I don't have a file:

/usr/lib/libc.so.6

on my up to date F8 installation.

I do have a couple of symlinks though in '/lib' and '/lib/i686/nosegneg' of that name pointing to '/lib/libc-2.7.so'
Reply With Quote
  #9  
Old 5th February 2008, 10:36 AM
glennzo's Avatar
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,934
Hey tinti. I have that file on my Fedora 8 system but it's not in /usr/lib
Code:
[glenn@toshiba ~]$ locate libc.so.6
/lib/libc.so.6
/lib/i686/nosegneg/libc.so.6
Edit: Actually I guess it's a link to libc-2.7.so.
Code:
[glenn@toshiba nosegneg]$ ls -la
total 2148
drwxr-xr-x 2 root root    4096 2008-01-19 10:53 .
drwxr-xr-x 3 root root    4096 2008-01-19 10:53 ..
-rwxr-xr-x 1 root root 1701336 2007-10-18 04:48 libc-2.7.so
lrwxrwxrwx 1 root root      11 2008-01-19 10:53 libc.so.6 -> libc-2.7.so
-rwxr-xr-x 1 root root  208308 2007-10-18 04:48 libm-2.7.so
lrwxrwxrwx 1 root root      11 2008-01-19 10:53 libm.so.6 -> libm-2.7.so
-rwxr-xr-x 1 root root  129472 2007-10-18 04:48 libpthread-2.7.so
lrwxrwxrwx 1 root root      17 2008-01-19 10:53 libpthread.so.0 -> libpthread-2.7.so
-rwxr-xr-x 1 root root   46024 2007-10-18 04:48 librt-2.7.so
lrwxrwxrwx 1 root root      12 2008-01-19 10:53 librt.so.1 -> librt-2.7.so
-rwxr-xr-x 1 root root   33716 2007-10-18 04:48 libthread_db-1.0.so
lrwxrwxrwx 1 root root      19 2008-01-19 10:53 libthread_db.so.1 -> libthread_db-1.0.so
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB

Last edited by glennzo; 5th February 2008 at 10:40 AM.
Reply With Quote
  #10  
Old 5th February 2008, 10:44 AM
tinti's Avatar
tinti Offline
Registered User
 
Join Date: Oct 2006
Posts: 38
I will try adopting my symlinks as yours tonight and see if it works for me, maybe gnucash just reports an error caused by the existing symlink /usr/lib/libc.so.6

Many thanks for your help.
Reply With Quote
  #11  
Old 5th February 2008, 06:04 PM
tinti's Avatar
tinti Offline
Registered User
 
Join Date: Oct 2006
Posts: 38
Yes, by removing the symbolic link /usr/lib/libc.so.6 my gnucash is starting

Thanks for your help!
Reply With Quote
Reply

Tags
gnucash

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
gnucash masterswim Using Fedora 3 18th April 2006 02:38 PM


Current GMT-time: 03:29 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat