Opened 12 years ago
Last modified 12 years ago
#35100 closed defect
port octave linking error — at Initial Version
Reported by: | anddam (Andrea D'Amore) | Owned by: | anddam (Andrea D'Amore) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.1 |
Keywords: | haspatch | Cc: | davshaonr@… |
Port: | octave |
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
Note: See
TracTickets for help on using
tickets.