pkgsrc-Users archive

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

Re: (gnuradio-core) libstdc++.so.9 conflicts with libstdc++.so.7



On Sat, Nov 19, 2022 at 09:41:15AM +0900, Makoto Fujiwara wrote:
> Hi,
> 
> Would anybody explain what's is going on, and what's wrong and how to fix ?
> 
> http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0/20221116.2248/gnuradio-core-3.10.4.0nb1/build.log
> +--------------------------------------------------------------------
> | [ 53%] Linking CXX shared library libgnuradio-blocks.so /usr/bin/ld:
> | warning: libstdc++.so.9, needed by
> | /tmp/ham/gnuradio-core/work/.buildlink/lib/libboost_program_options.so,
> | may conflict with libstdc++.so.7
> | 
> | [ 53%] Built target gnuradio-blocks
> | gmake: *** [Makefile:146: all] Error 2
> +---------------------------------------------------------------------
> (I don't see the origin of  libstdc++.so.7)

This is usually caused by some dependency setting GCC_REQD.

Although this is the actual cause of the failure:

/usr/bin/ld: ../lib/libgnuradio-runtime.so.3.10.4.0: undefined reference to `unw_getcontext'
/usr/bin/ld: /usr/pkg/lib/libunwind.so.1: undefined reference to `__libunwind_Registers_x86_64_jumpto'
/usr/bin/ld: /usr/pkg/lib/libunwind.so.1: undefined reference to `__unw_getcontext'
collect2: error: ld returned 1 exit status

I recall some weird stuff happening with libunwind, but that
was on arm, not x86


Home | Main Index | Thread Index | Old Index