Gnucash Segfaults

Ted Creedon tcreedon at easystreet.net
Fri Feb 28 07:00:30 EST 2014


deleted 2.4,  2.6.1 compiled fine but when executing:

gnucash: error while loading shared libraries: libgnc-gnome.so.0: cannot
open shared object file: No such file or directory

libgnc-gnome. was deleted when 2.4 was removed

and its not in the suse distro. So I moved it & did ldconfig

cp /data/gnucash-2.6.1/src/gnome/.libs/libgnc-gnome.so
/usr/lib64/libgnc-gnome.soi

& now get [1]+  Trace/breakpoint trap   gnucash



tedc





On Fri, Feb 28, 2014 at 3:28 AM, Geert Janssens
<janssens-geert at telenet.be>wrote:

>  On Friday 28 February 2014 02:12:23 Ted Creedon wrote:
>
> > It might be best to work on 2.6..1.
>
> >
>
> > Here'e the 2.6.1 compile error - which involves libgnc:
>
> >
>
> > libtool: link: gcc -Wdeclaration-after-statement -g -O2 -Wall -Wunused
>
> > -Wmissing-prototypes -Wmissing-declarations -Wno-unused -o
>
> > .libs/gnucash gnucash-bin.o -pthread -Wl,--export-dynamic -pthread
>
> > ../../src/register/ledger-core/.libs/libgncmod-ledger-core.so
>
> > ../../src/report/report-gnome/.libs/libgncmod-report-gnome.so
>
> > ../../src/gnome/.libs/libgnc-gnome.so
>
> > ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so
>
> > ../../src/app-utils/.libs/libgncmod-app-utils.so
>
> > ../../src/engine/.libs/libgncmod-engine.so
>
> > ../../src/gnc-module/.libs/libgnc-module.so
>
> > ../../src/core-utils/.libs/libgnc-core-utils.so
>
> > ../../src/libqof/qof/.libs/libgnc-qof.so /usr/lib64/libguile.so -lgmp
>
> > -lcrypt /usr/lib64/libltdl.so -lgthread-2.0 -lgmodule-2.0
>
> > -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo
>
> > -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
>
> > -lglib-2.0 -lfontconfig -lfreetype -lm -pthread -Wl,-rpath
>
> > -Wl,/usr/local/lib64/gnucash -Wl,-rpath -Wl,/usr/lib64
>
> > /usr/lib64/libgnc-backend-xml-utils.so.0: undefined reference to
>
> > `safe_strcmp'
>
> > collect2: error: ld returned 1 exit status
>
> > make[4]: *** [gnucash] Error 1
>
> > make[3]: *** [all-recursive] Error 1
>
> > make[2]: *** [all-recursive] Error 1
>
> > make[1]: *** [all-recursive] Error 1
>
> > make: *** [all] Error 2
>
> >
>
> That looks like your linker is trying to link against libraries from an
> older gnucash version installed on the system. safe_strcmp is not used in
> gnucash 2.6.1 anymore.
>
>
>
> There is a bug report for this [1]. The workaround is to remove gnucash
> from your system before compiling.
>
>
>
> Geert
>
>
>
> [1] https://bugzilla.gnome.org/show_bug.cgi?id=644897
>


More information about the gnucash-devel mailing list