Installing Python Bindings

... offonoffoffonoff at gmail.com
Thu Sep 16 00:43:33 EDT 2010


> > gnucash: error while loading shared libraries: libgnc-qof.so.1: cannot
> > open
> > shared object file: No such file or directory
>
> This would seem to imply a missing library.  maybe a remnant from an older
> build?  try:
>
> sudo make uninstall
>
> Also make sure you don't have a gnucash package installed through apt.
>
>

Thanks.  I uninstalled and deleted and moved the build directory outside of
sudo only write zone.  I freshly cloned the repo and again ran

./autogen.sh
./configure --enable-python-bindings

Somehow i didn't make it through configure this time.   I got
====
checking for guile - 1.6.7 <= version < 99.99.99... yes: 1.6.8
checking for guile - 1.8.0 <= version < 99.99.99... no: 1.6.8
checking for SLIB support... configure: error:

   Cannot find SLIB.  Are you sure you have it installed?
   See http://bugzilla.gnome.org/show_bug.cgi?id=347922
   and http://bugzilla.gnome.org/show_bug.cgi?id=483631
====

With apt-get I tried removing guile-1.6, guile1.6 dev and slib packages and
then reinstalling them.  no fix.  I installed guile1.8 and guile1.8dev.  no
fix

The advise contained within those links is so widely varied and esoteric
that I could not tell if there was actually a way to solve this if for some
reason guile and slib aren't by default cooperating.

I tried comment 20: https://bugzilla.gnome.org/show_bug.cgi?id=347922#c20

elbiot at elbitop:/usr/share$ sudo guile -c "(use modules (ice-9 slib))
(require 'new-catalog)"
ERROR: Unbound variable: use
elbiot at elbitop:/usr/share$ sudo guile -c "(use modules (ice-9 slib))
(require 'printf)"
ERROR: Unbound variable: usenk this is the end

I think this is the end of the line for me unless there is a simple,
straightforward fix. gnu cash will be excellent once it has working
scripting capability.  But until that day comes I guess I'll look into
another program that has working scripting.


More information about the gnucash-devel mailing list