Kubuntu 10.04 and library path problems
Elizabeth Dodd
edodd at billiau.net
Sun Dec 26 16:25:37 EST 2010
On Sun, 26 Dec 2010 11:38:28 -0500
Paul Abrahams <abrahams at acm.org> wrote:
> On Sunday, December 26, 2010 05:26:04 am Geert Janssens wrote:
> >
> > The way you start gnucash here will look for it in the default
> > path. From your reply to Derek it looks you still have a version of
> > GnuCash installed in /usr/local/bin, which uses the wrong version
> > of libqof. Running gnucash simply as "gnucash" picks up this
> > version in /usr/local, not the one you installed in /opt/gnucash.
> >
> > With your prefix, you should start gnucash with the command:
> > /opt/gnucash/bin/gnucash
> >
> > or prepend /opt/gnucash/bin to your PATH.
> >
> > I don't think it matters if 2.2.9 is still installed or not in this
> > case.
>
>
> I solved the problem with two measures:
>
> 1. I did the configuration with --prefix=/opt/gnucash.
>
> 2. When the dust settled, I deleted /usr/local/bin/gnucash and
> replaced it with a symlink to /opt/gnucash/bin/gnucash.
>
> Once 2.4 makes it into the Kubuntu repositories, I'll sweep all this
> detritus away and install the distributed package.
>
>
I'd recommend using checkinstall
firstly install checkinstall
then configure; make; checkinstall make install
this installs the built package through the package manager and removes
the old one for you.
More information about the gnucash-user
mailing list