On Mon, Mar 26, 2012 at 12:28:39PM -0400, Derek Atkins wrote: > Hi, > > On Mon, March 26, 2012 12:19 pm, Casey Cichon wrote: > > Grabbed the latest version of trunk, got an error when compiling: > > > [snip] > > /usr/local/lib/gnucash/libgncmod-ledger-core.so: undefined reference to > > `qof_book_uses_autofreeze' > > /usr/local/lib/gnucash/libgncmod-ledger-core.so: undefined reference to > > `qof_book_get_autofreeze_gdate' > > collect2: ld returned 1 exit status > > make[4]: *** [gnucash] Error 1 > > make[4]: Leaving directory `/home/casey/Downloads/gnucash/src/bin' > > make[3]: *** [all-recursive] Error 1 > > The issue here is that the linker is finding an old version of some > GnuCash libraries in /usr/local/lib and is trying to use them instead of > using the version you've just compiled. > > The solution: > > 1) Uninstall gnucash from /usr/local > 2) re-configure gnucash with --prefix=/opt/gnucash > 3) re-build and re-install gnucash into /opt/gnucash >
Ok ... make uninstall (to uninstall /usr/local) make (No errors) So I'm all good again. Thanks. > > No errors before this. > > Not surprising; those QOF APIs probably didn't change before now. > Casey >
signature.asc
Description: Digital signature
_______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel