pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(gnuradio-core) libstdc++.so.9 conflicts with libstdc++.so.7
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)
Probably this is what's happening (this is on 9.99.96 host)
1. gnuradio-core has libgnuradio-blocks.so to be installed
| xen48$ grep libgnuradio-blocks.so usr/pkgsrc/ham/gnuradio-core/PLIST*
| usr/pkgsrc/ham/gnuradio-core/PLIST:lib/libgnuradio-blocks.so
| usr/pkgsrc/ham/gnuradio-core/PLIST:lib/libgnuradio-blocks.so.${PKGVERSION}
| usr/pkgsrc/ham/gnuradio-core/PLIST:lib/libgnuradio-blocks.so.${PKGVER_MICRO}
2. it links to libboost_program_options.so.1.78.0
| xen48$ ldd /usr/pkg/lib/libgnuradio-blocks.so |grep libboost_program
| -lboost_program_options.1.78.0 => /usr/pkg/lib/libboost_program_options.so.1.78.0
3. it links to -lstdc++.9
| xen48$ ldd /usr/pkg/lib/libboost_program_options.so.1.78.0
| /usr/pkg/lib/libboost_program_options.so.1.78.0:
| -lstdc++.9 => /usr/lib/libstdc++.so.9
| -lm.0 => /usr/lib/libm.so.0
| -lc.12 => /usr/lib/libc.so.12
| -lgcc_s.1 => /usr/lib/libgcc_s.so.1
| -lpthread.1 => /usr/lib/libpthread.so.1
(at Release 9.0, after pbulk done and idle):
% ls -l /usr/lib/libstdc++.so.*
lrwxr-xr-x 1 root wheel 45 Aug 16 2021 /usr/lib/libstdc++.so.7.1 -> /usr/pkg/emul/netbsd/usr/lib/libstdc++.so.7.1
lrwxr-xr-x 1 root wheel 16 Feb 14 2020 /usr/lib/libstdc++.so -> libstdc++.so.9.0 |
lrwxr-xr-x 1 root wheel 43 Jan 21 2021 /usr/lib/libstdc++.so.6 -> /usr/pkg/emul/netbsd/usr/lib/libstdc++.so.6 |
lrwxr-xr-x 1 root wheel 45 Jan 21 2021 /usr/lib/libstdc++.so.6.0 -> /usr/pkg/emul/netbsd/usr/lib/libstdc++.so.6.0 |
lrwxr-xr-x 1 root wheel 45 Jun 20 06:27 /usr/lib/libstdc++.so.7.1 -> /usr/pkg/emul/netbsd/usr/lib/libstdc++.so.7.1 |
lrwxr-xr-x 1 root wheel 43 Oct 25 2021 /usr/lib/libstdc++.so.8 -> /usr/pkg/emul/netbsd/usr/lib/libstdc++.so.8 |
lrwxr-xr-x 1 root wheel 45 Oct 25 2021 /usr/lib/libstdc++.so.8.0 -> /usr/pkg/emul/netbsd/usr/lib/libstdc++.so.8.0 |
lrwxr-xr-x 1 root wheel 16 Feb 14 2020 /usr/lib/libstdc++.so.9 -> libstdc++.so.9.0 |
-r--r--r-- 1 root wheel 2030136 Feb 14 2020 /usr/lib/libstdc++.so.9.0 |
--
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
Key fingerprint = 0BFA FAEB EAD1 90BA 7498 8F85 6809 9E0B B7EF A12E
----
pkgsrc freshness:
http://www.ki.nu/~makoto/pkgsrc/check-update/00_Summary.html
Home |
Main Index |
Thread Index |
Old Index