Problem building master with autotools
John Ralls
jralls at ceridwen.us
Tue Jul 11 09:57:52 EDT 2017
> On Jul 11, 2017, at 5:33 AM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
>
> On dinsdag 11 juli 2017 03:38:16 CEST Alex Aycinena wrote:
>> With a fresh checkout of master, I try to build with the autotools but I
>> get an error in linking test-import-pending-matches with test-engine-stuff
>> during make as follows:
>>
>> /usr/bin/ld:
>> ../../../src/engine/test-core/.libs/libgncmod-test-engine.a(test-engine-stuf
>> f.o): undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3'
>> /usr/lib64/libstdc++.so.6: error adding symbols: DSO missing from command
>> line
>> collect2: error: ld returned 1 exit status
>> Makefile:837: recipe for target 'test-import-pending-matches' failed
>>
>> I can build with cmake but I would like to run make check after an
>> autotools make because I think it runs different checks.
>>
>> Can anyone give me an idea of how to get this to work? This is Fedora 25.
>>
>
> Odd I don't get this on my system (Fedora 25 as well).
>
> The linker is having issues resolving "__gxx_personality_v0". The internet
> cites two common issues for this:
> - either a library is missing
> - or the sequence of libraries on the command line is wrong (a symbol to
> resolve should appear after the source in which it's being imported).
I hit that the other day and the problem was that I had installed libraries from master while trying to build maint. Since the latter doesn’t link to libstdc++, picking up one of the installed libraries that needed it caused the error and clearing out the installed libgnc* fixed the problem.
Regards,
John Ralls
More information about the gnucash-devel
mailing list