Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#35100 closed defect (fixed)

port octave linking error

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 (last modified by anddam (Andrea D'Amore))

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

Change History (2)

comment:1 Changed 12 years ago by anddam (Andrea D'Amore)

Resolution: fixed
Status: newclosed

Committed r95166.

comment:2 Changed 11 years ago by anddam (Andrea D'Amore)

Description: modified (diff)
Note: See TracTickets for help on using tickets.