pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem building finance/gnucash



Marc Baudoin <babafou%babafou.eu.org@localhost> writes:

> Greg Troxel <gdt%lexort.com@localhost> écrit :
>> Marc Baudoin <babafou%babafou.eu.org@localhost> writes:
>> 
>> > For several weeks now, I've been unable to build finance/gnucash
>> > on NetBSD/amd64 8.0 with an updated pkgsrc tree:
>> >
>> > /usr/bin/ld: warning: libstdc++.so.8, needed by /usr/pkgsrc/finance/gnucash/work/.buildlink/lib/libboost_locale.so, may conflict with libstdc++.so.7
>> > [ 87%] Built target gnc-gnome
>> > gmake: *** [Makefile:163: all] Error 2
>> 
>> You have built programs with different compilers.
>
> Well, pkgsrc did.  I usually trust it as it does a darn good job.

When you upgrade the base system you must:

  delete all your packages and build fresh, or

  rebuild all of them, as with pkg_rr

>> > Any idea on how to fix this?
>> 
>> Figure out which libstdc++ libraries you have, and why, and which
>> libraries link against them.
>
> Looks like the problem is in www/webkit-gtk (which has been
> updated two weeks ago) and several of its binaries are linked
> with /usr/pkg/gcc6/x86_64--netbsd/lib/./libstdc++.so.7, which
> seems to be the cause of the clash when building finance/gnucash.

If you rebuild it, it should not be linked with 7 any more.  It may be
that it depends on foo which uses 7 and foo is not updated, for some
value of foo.


Home | Main Index | Thread Index | Old Index