Ticket #972 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

SAGE 2.8.8.1 blows up building cddlib if libgmp is in /usr/local/lib

Reported by: justin Owned by: was
Priority: major Milestone: sage-2.8.14
Component: packages Keywords:
Cc: Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

Description (last modified by mabshoff) (diff)

I encountered this on Mac OS X (10.4.10), on a dual Quad Xeon system. The build of cddlib-094b blows up here:

The build of cddlib-094b blows chunks, with this complaint:

g++ -I /SandBox/Justin/sb/sage-2.8.8.1/local/include -L/usr/local/lib -o scdd_gmp simplecdd.o ../lib-src-gmp/libcddgmp.a -lgmp

because of a separately-built libgmp there.

The error produces this complaint:

/usr/bin/ld: Undefined symbols:
___gmpq_add
___gmpq_clear
___gmpq_cmp
___gmpq_div
___gmpq_init
___gmpq_mul
___gmpq_set
___gmpq_sub
___gmpq_get_d
___gmpq_set_den
___gmpq_set_num
___gmpq_set_si
___gmpq_set_ui
___gmpz_clear
___gmpz_init
___gmpz_set_si
___gmpz_set_ui
___gmpq_canonicalize
___gmpq_get_den
___gmpq_get_num
___gmpz_cmp_ui
___gmpz_init_set_str
___gmpz_out_str
___gmpz_set

Change History

Changed 2 years ago by mabshoff

  • description modified (diff)

Changed 2 years ago by mabshoff

  • milestone set to sage-2.9

Changed 2 years ago by mabshoff

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from sage-2.9.1 to sage-2.8.14

This was fixed in 2.8.14 by an updated cddlib.spkg.

Cheers,

Michal

Note: See TracTickets for help on using tickets.