[MacPorts] #35100: port octave linking error
MacPorts
noreply at macports.org
Fri Jul 6 02:10:30 PDT 2012
#35100: port octave linking error
-------------------------------------+--------------------------------------
Reporter: and.damore@… | Owner: and.damore@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: haspatch | Port: octave
-------------------------------------+--------------------------------------
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
--
Ticket URL: <https://trac.macports.org/ticket/35100>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list