[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
Mon Feb 8 19:20:31 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  |
-------------------------------+---------------------------------
Changes (by ryandesign):

 * owner:  (none) => MarcusCalhoun-Lopez
 * keywords:  SuiteSparse =>
 * status:  new => assigned


Comment:

 I am not clear about whether you are encountering the problem when
 building a port in MacPorts (which port?), or when building software
 yourself outside of MacPorts (which software?) but using libraries
 provided by MacPorts ports.

 I see a reference to /usr/local/lib/octave/7.0.0/liboctave.8.dylib in your
 output. Note [wiki:FAQ#usrlocal our stance on having things in
 /usr/local].

 I see that you appear to be building whatever it is with g++. Note that
 you cannot mix and match C++ compilers. You must either compile everything
 (including dependencies) with g++ or with clang++, not with a combination
 of the two.

 MacPorts ports will build with clang++, except in unusual circumstances.
 There is no supported method to request MacPorts to build with g++
 instead. We recommend using clang++. The octave and SuiteSparse ports in
 MacPorts do appear to be unusual in that they offer you variants to let
 you choose which compiler to use.

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


More information about the macports-tickets mailing list