Compiling on 64 bit SuSE (Was Re: List OK?)

Derek Atkins warlord at MIT.EDU
Mon Sep 5 21:25:11 EDT 2005


Quoting Des Dougan <des at DouganConsulting.com>:


> Well, I decided to press on. libltdl.so is a symbolic link to
> libltdl.so.1 in /usr/lib, so I created a new symbolic link to
> the /usr/lib64 directory. This got me further and carrying out the same
> steps again for subsequent links had "make" completing, apparently
> successfully. "make install" ran through, although it provided warnings
> about static libraries such as this example:

I'm surprised that worked...

> *** Warning: This system can not link to static lib archive 
> ../../../src/business/business-ledger/libgnc-business-ledger.la.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> *** But as you try to build a module library, libtool will still create
> *** a static module, that should work as long as the dlopening application
> *** is linked with the -dlopen flag to resolve symbols at runtime.
>
> I therefore tries running gnucash, but got the following failure:
>
> des at sempron:~> gnucash
> ERROR: In procedure dynamic-link:
> ERROR: file: "libgw-gnc", message: "/usr/lib64/libgw-gnc.a: invalid 
> ELF header"
>
> Can anyone offer any pointers to the cause of this?

It built a static library instead of a shared library.  Gnucash can't handle
that.

> Thanks,
>
> Des

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list