engine-helpers bug

Dave Peticolas dave@krondo.com
29 Oct 2001 12:15:59 -0800


--=-7BhF1vcTPQYW573940yx
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2001-10-29 at 11:08, Linas Vepstas wrote:
>=20
> I've got a bug that I am not sure how to hack around.
>=20
> Since libgncengine.so doesn't exist any more, I assume that=20
> libgncmod-engine.so is the right thing to link to.  However:
>=20
> /usr/bin/perl: relocation error: /usr/local/lib/gnucash/libgncmod-engine.=
so.0: undefined symbol: gnc_engine_commodity_table_new
>=20
> # grep gnc_engine_commodity_table_new *.c
> engine-helpers.c:gnc_engine_commodity_table_new (void)
> gnc-book.c:  book->commodity_table =3D gnc_engine_commodity_table_new ();
>=20
> However engine-helpers.c is not a part of  libgncmod-engine.so,
> instead, its a part of libgw-engine.so which doesn't seem like the
> appropriate thing to link to, when using the non-g-wrapped version
> of the engine libraries.
>=20
> What is the suggested fix for this?  At the moment, there is no way to
> use the engine without also invoking guile.  Is this really the intent?

Rob is working on fixing the missing dependencies in the shared libs,
he should be finished fairly soon. In the meantime you can manually
link to the other libs in src/engine.

dave


--=-7BhF1vcTPQYW573940yx
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA73bj+5effKKCmfpIRApANAKDR7j2UDB63z+mYCb5Hky5YZy5l2ACgtIIm
c+sazlUagbe+0nu+9b0Qu2c=
=/TNh
-----END PGP SIGNATURE-----

--=-7BhF1vcTPQYW573940yx--