Building gnucash on Ubuntu 12.04 Alpha

Geert Janssens janssens-geert at
Mon Jan 30 12:41:04 EST 2012

Op zondag 29 januari 2012 21:48:08 schreef Colin Law:
> On 29 January 2012 20:24, Geert Janssens <janssens-geert at> wrote:
> > Op vrijdag 27 januari 2012 11:05:38 schreef Colin Law:
> >> ...
> >> I had a look at the packaged version of gnucash in the Ubuntu 12.04
> >> repository and realised that this suffers from the same problem
> >> (though the symptom is not exactly the same hence I did not realise
> >> this previously) so I have submitted a bug to launchpad [2] in the
> >> hope that the package manager there will be able to redirect the bug
> >> to the appropriate package.  I presume that the package manager is not
> >> here?
> >> 
> >> [1]
> >> [2]
> >> 
> >> Colin
> > 
> > Note that your distribution could work around this by patching the
> > environment file that is generated during build. This file ends up in
> > /etc/gnucash/environment and contains a set of parameters that will be
> > added to the environment when GnuCash is running. By adding an entry
> > for LD_LIBRARY_PATH in there, GnuCash should pick it up before any
> > druid is started.
> > This is obviously only one way to make sure GnuCash gets the proper
> > environment variable set. You may want to use another mechanism if that
> > suits Ubuntu better.
> I am pretty sure that the fundamental problem is that one of the other
> packages is not installing properly.  I suspect that the library
> should be installed into /usr/lib (or a link to it should), that seems
> to be the normal route for libraries in Ubuntu.
Well, I'm not sure about that. On fedora the libgnome library is also in the 
subdirectory of libglade, just as on Ubuntu. I don't think the libraries in 
that directory are loaded via the normal LD_LIBRARY_PATH settings, but using a 
manual call to ldopen or something from within libglade.

Something must have changed in Ubuntu 12.04 which causes this to fail.

> Since the packaged
> version of Gnucash suffers from the same problem I hope that whoever
> is responsible for that will get it sorted.
Yes, that would be the best option.


More information about the gnucash-devel mailing list