[Minotaur] Minotaur installation issue

Luca Mencarelli luca.mencarelli.university at gmail.com
Mon Apr 8 04:25:54 CDT 2024


Dear all,

I'm trying to install the latest version of Minotaur on my MacBook Pro with
Apple M2 Chip. I followed the instruction, but, after make install, I
obtain the following error.

Thanks for all your help.
Best regards,
Luca

[ 95%] Linking CXX shared library libminotaur.dylib
Undefined symbols for architecture arm64:
  "_ASL_alloc", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
in AMPLInterface.cpp.o
  "_ASL_free", referenced from:
      __ZN13MINOTAUR_AMPL13AMPLInterfaceD2Ev in AMPLInterface.cpp.o
      __ZN13MINOTAUR_AMPL13AMPLInterfaceD1Ev in AMPLInterface.cpp.o
      __ZN13MINOTAUR_AMPL13AMPLInterface7freeASLEv in AMPLInterface.cpp.o

__ZN13MINOTAUR_AMPL13AMPLInterface16readInstanceASL_ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
in AMPLInterface.cpp.o
  "__ZN16CoinPackedMatrixC1EbiiiPKdPKiS3_S3_", referenced from:
      __ZN8Minotaur11OsiLPEngine4loadEPNS_7ProblemE in OsiLPEngine.cpp.o
  "__ZN18CoinMessageHandler11setLogLevelEi", referenced from:
      __ZN8Minotaur11OsiLPEngine5clearEv in OsiLPEngine.cpp.o
      __ZN8Minotaur11OsiLPEngine10newSolver_ENS_15OsiLPEngineNameE in
OsiLPEngine.cpp.o
  "__ZN21OsiClpSolverInterface19setupForRepeatedUseEii", referenced from:
      __ZN8Minotaur11OsiLPEngineC1EPNS_11EnvironmentE in OsiLPEngine.cpp.o
  "__ZN21OsiClpSolverInterfaceC1Ev", referenced from:
      __ZN8Minotaur11OsiLPEngine10newSolver_ENS_15OsiLPEngineNameE in
OsiLPEngine.cpp.o
  "__ZN5Ipopt16IpoptApplicationC1Ebb", referenced from:
      __ZN8Minotaur11IpoptEngineC1EPNS_11EnvironmentE in IpoptEngine.cpp.o
  "__ZN9CoinError12printErrors_E", referenced from:

__ZN9CoinErrorC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_i
in OsiLPEngine.cpp.o
  "__ZTI18OsiSolverInterface", referenced from:

__ZN8Minotaur11OsiLPEngine16changeConstraintEPNS_10ConstraintEPNS_14LinearFunctionEdd
in OsiLPEngine.cpp.o
      __ZN8Minotaur11OsiLPEngineC1EPNS_11EnvironmentE in OsiLPEngine.cpp.o
  "__ZTI21OsiClpSolverInterface", referenced from:

__ZN8Minotaur11OsiLPEngine16changeConstraintEPNS_10ConstraintEPNS_14LinearFunctionEdd
in OsiLPEngine.cpp.o
      __ZN8Minotaur11OsiLPEngineC1EPNS_11EnvironmentE in OsiLPEngine.cpp.o
  "__ZTV17CoinWarmStartDual", referenced from:
      __ZN8Minotaur14OsiLPWarmStart16setDualWarmStartEiPKd in
OsiLPEngine.cpp.o
  NOTE: a missing vtable usually means the first non-inline virtual member
function has no definition.
  "_bqpd_", referenced from:
      __ZN8Minotaur10BqpdEngine6solve_EiRd in BqpdEngine.cpp.o
     (maybe you meant: _bqpd_count_, _bqpd_countc_ )
  "_con_name_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface20addLinearConstraint_EiPN8Minotaur7ProblemE
in AMPLInterface.cpp.o

__ZN13MINOTAUR_AMPL13AMPLInterface23addQuadraticConstraint_EiPN8Minotaur7ProblemE
in AMPLInterface.cpp.o
      __ZNK13MINOTAUR_AMPL13AMPLInterface12writeProblemERSo in
AMPLInterface.cpp.o
      __ZN13MINOTAUR_AMPL13AMPLInterface21copyInstanceFromASL2_Ev in
AMPLInterface.cpp.o

__ZN13MINOTAUR_AMPL13AMPLInterface19getInstanceFromASL_ERSt6vectorISt3setIiSt4lessIiESaIiEESaIS6_EE
in AMPLInterface.cpp.o
  "_dsyevr_", referenced from:
      __ZN8Minotaur15EigenCalculator10calculate_Ev in Eigen.cpp.o
  "_f_read_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
in AMPLInterface.cpp.o
  "_fg_read_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
in AMPLInterface.cpp.o
  "_fgh_read_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
in AMPLInterface.cpp.o
  "_filtersqp_", referenced from:
      __ZN8Minotaur15FilterSQPEngine5solveEv in FilterSQPEngine.cpp.o
  "_getenv_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface18getOptionsFromEnv_ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
in AMPLInterface.cpp.o
  "_jac0dim_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
in AMPLInterface.cpp.o
  "_mymalloc_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
in AMPLInterface.cpp.o
  "_obj_name_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface19addLinearObjective_EiPN8Minotaur7ProblemE
in AMPLInterface.cpp.o

__ZN13MINOTAUR_AMPL13AMPLInterface22addQuadraticObjective_EiPN8Minotaur7ProblemE
in AMPLInterface.cpp.o
      __ZNK13MINOTAUR_AMPL13AMPLInterface12writeProblemERSo in
AMPLInterface.cpp.o
      __ZN13MINOTAUR_AMPL13AMPLInterface21copyInstanceFromASL2_Ev in
AMPLInterface.cpp.o

__ZN13MINOTAUR_AMPL13AMPLInterface19getInstanceFromASL_ERSt6vectorISt3setIiSt4lessIiESaIiEESaIS6_EE
in AMPLInterface.cpp.o
  "_objconst_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface19addLinearObjective_EiPN8Minotaur7ProblemE
in AMPLInterface.cpp.o

__ZN13MINOTAUR_AMPL13AMPLInterface22addQuadraticObjective_EiPN8Minotaur7ProblemE
in AMPLInterface.cpp.o
      __ZNK13MINOTAUR_AMPL13AMPLInterface9writeLin_EjbRSo in
AMPLInterface.cpp.o
      __ZN13MINOTAUR_AMPL13AMPLInterface21copyInstanceFromASL2_Ev in
AMPLInterface.cpp.o

__ZN13MINOTAUR_AMPL13AMPLInterface19getInstanceFromASL_ERSt6vectorISt3setIiSt4lessIiESaIiEESaIS6_EE
in AMPLInterface.cpp.o
  "_pfg_read_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
in AMPLInterface.cpp.o
  "_pfgh_read_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
in AMPLInterface.cpp.o
  "_r_ops_ASL", referenced from:
      __ZN13MINOTAUR_AMPL13AMPLInterface18createFunctionMap_Ev in
AMPLInterface.cpp.o

__ZN13MINOTAUR_AMPL13AMPLInterface15readInstanceCG_ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
in AMPLInterface.cpp.o

__ZN13MINOTAUR_AMPL13AMPLInterface16readInstanceASL_ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
in AMPLInterface.cpp.o
  "_suf_declare_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface9readFile_EPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_10ReaderTypeE
in AMPLInterface.cpp.o
  "_suf_sos_ASL", referenced from:
      __ZN13MINOTAUR_AMPL13AMPLInterface7addSOS_EPN8Minotaur7ProblemE in
AMPLInterface.cpp.o
  "_var_name_ASL", referenced from:
      __ZNK13MINOTAUR_AMPL13AMPLInterface9writeLin_EjbRSo.constprop.0 in
AMPLInterface.cpp.o
      __ZNK13MINOTAUR_AMPL13AMPLInterface16writeExpression_EP4exprRSo in
AMPLInterface.cpp.o
      __ZNK13MINOTAUR_AMPL13AMPLInterface9writeLin_EjbRSo in
AMPLInterface.cpp.o
      __ZNK13MINOTAUR_AMPL13AMPLInterface12writeProblemERSo in
AMPLInterface.cpp.o

__ZN13MINOTAUR_AMPL13AMPLInterface20addVariablesFromASL_EPN8Minotaur7ProblemE
in AMPLInterface.cpp.o
  "_write_sol_ASL", referenced from:

__ZN13MINOTAUR_AMPL13AMPLInterface13writeSolutionEPKN8Minotaur8SolutionENS1_11SolveStatusE
in AMPLInterface.cpp.o
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
make[2]: *** [src/libminotaur.dylib] Error 1
make[1]: *** [src/CMakeFiles/minotaur.dir/all] Error 2
make: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/minotaur/attachments/20240408/a47d787f/attachment-0001.html>


More information about the Minotaur mailing list