[MacPorts] #62241: Undefined symbols for architecture x86_64: "__Z13SuiteSparseQRISt7complexIdEElidlP21cholmod_sparse_structPS3_PPlS4_S6_PP20cholmod_dense_structP21cholmod_common_struct", referenced from: __ZN6octave4math9sparse_qrI19SparseComplexMatrixE13sparse_qr_repC1ERKS2_i in libnumeric.a(libnumeric_la-sparse-qr.o)

MacPorts noreply at macports.org
Tue Mar 16 17:59:21 UTC 2021


#62241: Undefined symbols for architecture x86_64:
"__Z13SuiteSparseQRISt7complexIdEElidlP21cholmod_sparse_structPS3_PPlS4_S6_PP20cholmod_dense_structP21cholmod_common_struct",
referenced from:
__ZN6octave4math9sparse_qrI19SparseComplexMatrixE13sparse_qr_repC1ERKS2_i
in libnumeric.a(libnumeric_la-sparse-qr.o)
-------------------------------+---------------------------------
  Reporter:  dbl001            |      Owner:  MarcusCalhoun-Lopez
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.6.4
Resolution:                    |   Keywords:
      Port:  SuiteSparse_SPQR  |
-------------------------------+---------------------------------

Comment (by dbl001):

 I inspected the MacPort build of Octave 6.2.
 There are differences between MacPort Octave 6.2 and my octave build in
 ~/octave-current/.build/liboctave/wrappers/.deps/libwrappers_la-iconv-
 wrappers.Plo
 E.g.
 {{{
 <   libgnu/iconv.h /opt/local/include/iconv.h \
 ---
 >   /opt/local/include/iconv.h \
 }}}
 In addition, the MacPorts Octave build has the following files in libgnu
 which are missing from my build of octave:
 {{{
 -rw-r--r--   1 davidlaxer  staff   11393 Mar 14 09:20 iconv.c
 -rw-r--r--   1 davidlaxer  staff   27099 Mar 14 09:41 iconv.h
 -rw-r--r--   1 davidlaxer  staff    4301 Mar 14 09:20 iconv.in.h
 -rw-r--r--   1 davidlaxer  staff    1312 Mar 14 09:20 iconv_close.c
 -rw-r--r--   1 davidlaxer  staff    1701 Mar 14 09:20 iconv_open-aix.gperf
 -rw-r--r--   1 davidlaxer  staff   10435 Mar 14 09:20 iconv_open-aix.h
 -rw-r--r--   1 davidlaxer  staff    1843 Mar 14 09:20 iconv_open-
 hpux.gperf
 -rw-r--r--   1 davidlaxer  staff   12539 Mar 14 09:20 iconv_open-hpux.h
 -rw-r--r--   1 davidlaxer  staff    1477 Mar 14 09:20 iconv_open-
 irix.gperf
 -rw-r--r--   1 davidlaxer  staff    8019 Mar 14 09:20 iconv_open-irix.h
 -rw-r--r--   1 davidlaxer  staff    1747 Mar 14 09:20 iconv_open-osf.gperf
 -rw-r--r--   1 davidlaxer  staff   11437 Mar 14 09:20 iconv_open-osf.h
 -rw-r--r--   1 davidlaxer  staff    1594 Mar 14 09:20 iconv_open-
 solaris.gperf
 -rw-r--r--   1 davidlaxer  staff    7148 Mar 14 09:20 iconv_open-solaris.h
 -rw-r--r--   1 davidlaxer  staff    1915 Mar 14 09:20 iconv_open-zos.gperf
 -rw-r--r--   1 davidlaxer  staff   13648 Mar 14 09:20 iconv_open-zos.h
 -rw-r--r--   1 davidlaxer  staff    5611 Mar 14 09:20 iconv_open.c
 -rw-r--r--   1 davidlaxer  staff    1225 Mar 14 09:20 iconveh.h
 }}}

 I have installed MacPort libiconv 1.16 (which appears to be the latest.)
 {{{
  port list libiconv
 libiconv                       @1.16           textproc/libiconv
 (base) MacBook-Pro:~ davidlaxer$
 }}}

 Is there something I missed in the bootstrap step which adds iconv to
 libgnu?

-- 
Ticket URL: <https://trac.macports.org/ticket/62241#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list