Still trying to compile 2.0 on Ubuntu Edgy

Derek Atkins warlord at MIT.EDU
Mon Dec 18 13:20:39 EST 2006


Quoting Benoit Grégoire <bock at step.polymtl.ca>:

>> >> This is probably a result of the Debian/Ubuntu broken libtool where
>> >> it doesn't pull in implicit dependencies.
>> >
>> > Is there a workaround?
>>
>> Install a distribution that doesn't break libtool?   I recommend Fedora
>> or Gentoo.
>
> Do you know of a link somewhere that details the problems and/or workaround?
> I'm also stuck with this.

I'm too lazy to search the archives.  The summery is that Debian has
hacked libtool so when you link against a library it doesn't automatically
pull in that library's dependencies.  So, for example, if you have a library
A, and library B links against library A, and then a program, C, that links
against library B, then libtool on Debian will NOT pull A into C's link line.
So, if C uses symbols from A, you cannot assume that just linking B will
get you A's symbols; you need to tell Automake to link against library A
when building Program C.

This is only necessary on Debian/Ubuntu.

> Changing distro, and re-building everything installed on it is simply not a
> resonnable option time-wise.  For the first time in years I suddently simply
> can't compile gnucash.

The workaround is to find the missing symbols and make sure you add that
symbol's library to the appropraite LIBADD in Makefile.am.

-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