On Apr 11, 1:06 pm, Robert Bradshaw <rober...@math.washington.edu>
wrote:
> I got an error building on OS X 10.4
>
> /Users/robert/sage/sage-3.4.1.rc2/local/lib/libmpir.dylib
> (sizeinbase.o) definition of ___gmpz_sizeinbase
> /Users/robert/sage/sage-3.4.1.rc2/local/lib/libgmp.dylib
> (sizeinbase.o) definition of ___gmpz_sizeinbase
> /usr/bin/libtool: internal link edit command failed
> make[4]: *** [liblinboxsage.la] Error 1
> make[3]: *** [install-recursive] Error 1
> make[2]: *** [install-recursive] Error 1
> Error installing linbox
>
> Full log athttp://sage.math.washington.edu/home/robertwb/install.log

Yeah, David Roe reported the same problem. The bug is present on OSX
in general, but only bites us on OSX 10.4.

To work around it: find libgmpxx.la in $SAGE_LOCAL/lib and adjust
(accounting for you prefix)

# Libraries that this one depends upon.
dependency_libs=' /tmp/mpr-1.0/lib/libmpir.la'

from libmpir.la to libgmp.la. I have reported it upstream and will put
a temporary fix in place in the mpir.spkg so we do not have to wait on
upstream to build mpir on OSX 10.4.

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to