On make check, undefined symbol error: qof_string_number_compare_func
Derek Atkins
warlord at MIT.EDU
Mon Oct 2 09:47:05 EDT 2006
Quoting Christian Stimming <stimming at tuhh.de>:
> and similar error messages in many further directories. I *thought*
> this means
> at check-runtime, the linker cannot find libgncqof.so (which is where
> qof_string_number_compare_func is defined). If this is the cause of the
> error, then we need to add the location of libgncqof.so to the check
> environment. Attached is a patch that would do this for all places where make
> check gave this error.
>
> However, I'm quite confused about whether this is the correct fix, or whether
> something else is wrong. I thought there were many other functions from
> libqof already being referenced, so I thought it should have been found
> before as well. Or maybe before, the linker only found the libgncqof.so which
> happens to be installed in /usr/lib (there is one from branch-2.0)? If that
> were the case, then indeed we need to apply the attached patch so that the
> tests run with the currently built libgncqof.so instead of a potentially
> installed one.
Yes, this is the correct fix, and yes, it's probably finding the installed
version which is probably why it's working normally.
> Christian
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list