#35100: port octave linking error ---------------------------+-------------------------- Reporter: and.damore@… | Owner: and.damore@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: haspatch Port: octave | ---------------------------+-------------------------- Description changed by and.damore@…: Old description:
Building port octave on 10.7.4 gives the following error: {{{ Undefined symbols for architecture x86_64: "_SuiteSparse_time", referenced from: _umfpack_tic in libumfpack.a(umfpack_gn_tictoc.o) _umfpack_toc in libumfpack.a(umfpack_gn_tictoc.o) ld: symbol(s) not found for architecture x86_64 }}}
The issue is due to ''UMFPACK_LIBS'' provinding only '''-lumfpack''' flag and the missing symbol being defined in libSuiteSparse.dylib rather than libumfpack.a (both are from port SuiteSparse).
I'm patching UMFPACK_LIBS in Makeconf file in post-configure phase. This ticket acts as memo, I'm cc'ing original reporter on mp-user list
New description: Building port octave on 10.7.4 gives the following error: {{{ Undefined symbols for architecture x86_64: "_SuiteSparse_time", referenced from: _umfpack_tic in libumfpack.a(umfpack_gn_tictoc.o) _umfpack_toc in libumfpack.a(umfpack_gn_tictoc.o) ld: symbol(s) not found for architecture x86_64 }}} The issue is due to ''UMFPACK_LIBS'' providing only '''-lumfpack''' flag and the missing symbol being defined in libSuiteSparse.dylib rather than libumfpack.a (both are from port SuiteSparse). I'm patching UMFPACK_LIBS in Makeconf file in post-configure phase. This ticket acts as memo, I'm cc'ing original reporter on mp-user list -- -- Ticket URL: <https://trac.macports.org/ticket/35100#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS