Problems with Gnucash and Debian
Robert Graham Merkel
rgmerk@mira.net (Robert Graham Merkel)
Tue, 20 Feb 2001 10:06:41 +1100
Martin Rowe writes:
> Hi all
>
> Some time recently gnucash-1.4.9 broke on my Debian unstable box,
> complaining that slib wasn't installed. slib was still there, but no
> symlink to it in /usr/share/guile/1.4/, though there was one in /1.3.4/.
> It seems to be the upgrade to 1.4 that's to blame. Creating a symlink to
> slib in /1.4/ generated a slew of scheme errors when starting gnucash, so
> I put in a symlink to slibcat as well - which didn't improve matters :-(
>
> I thought I'd try compiling 1.4.10 from scratch to see if I could get
> that going against my current set up, with the latest libguile,
> libgwrapguile2, etc,. - but I've hit problems as follows:
>
> make[3]: Entering directory `/home/mrowe/gnucash-1.4.10/src'
> /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -I/usr/lib/glib/include
> -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
> -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml
> -I/usr/include -o gnucash MultiLedger.o SplitLedger.o Destroy.o
> EuroUtils.o FileDialog.o Refresh.o gnome/libgncgnome.a
> register/libgncregister.a register/gnome/libgncregistergnome.a
> guile/libgncguile.a gnome/libgncgnome.a engine/libgncengine.la
> -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib
> -lgnome -lgnomesupport -lesd -laudiofile -ldb -lgtkxmhtml -lXpm -ljpeg
> -lpng -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
> -lxml -lz /usr/lib/libgwrapguile.a -L/usr/lib -lguile -lqthreads
> -lpthread -lm -lm
> gcc -g -O2 -Wall -I/usr/lib/glib/include -I/usr/include
> -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
> -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml
> -I/usr/include -o .libs/gnucash MultiLedger.o SplitLedger.o Destroy.o
> EuroUtils.o FileDialog.o Refresh.o gnome/libgncgnome.a
> register/libgncregister.a register/gnome/libgncregistergnome.a
> guile/libgncguile.a gnome/libgncgnome.a engine/.libs/libgncengine.so -lm
> -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib
> -lgnome -lgnomesupport -lesd -laudiofile -ldb -lgtkxmhtml -lXpm -ljpeg
> -lpng -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
> -lxml -lz /usr/lib/libgwrapguile.a -L/usr/lib -lguile -lqthreads
> -lpthread -lm -lm -Wl,--rpath -Wl,/usr/local/lib
> /usr/bin/ld: cannot find -ldb
> collect2: ld returned 1 exit status
>
> What package is ldb in? I've hunted through the gnucash archives and
> found only a reference to a missing ldb2. I can't find an obvious
> candidate through the Debian package search site.
>
> Is there anyone else running gnucash & Debian unstable that can give me
> some pointers in getting them to coexist? If I can't get 1.4.10 built,
> I'll try & downgrade packages until my 1.4.9 .deb installation works
> again.
I think it's part of libc, and I think it's broken gnome packages.
As root, find the files <foo>conf.sh in /usr/lib, search for instances of -ldb
and replace it with -ldb1. It works for me (TM).
------------------------------------------------------------
Robert Merkel rgmerk@mira.net
"We can build a better product than Linux" - Jim Allchin,
chief Windows Technologist, Microsoft Corporation.
------------------------------------------------------------