The problem is that the linker is picking up my 64-bit version of
libmpfr.a located in /usr/local/lib instead of the 32-bit libmpfr.a
located in sage-2.2/local/lib.  I fixed it by adding a -Z flag (which
tells the linker not to search the system directories).  There should
be a cleaner fix, but I'm not familiar with the MPFI source tree.

This is probably something we should tell the list about since we want
to make sure that Sage builds completely from the components it gets
distributed with and doesn't try to pick up outside libraries.

--jason

On 3/2/07, Jason Martin <[EMAIL PROTECTED]> wrote:
> I'm seeing the same error.  I'll start investigating it.
>
> On 2/28/07, Clement Pernet <[EMAIL PROTECTED]> wrote:
> > Hello Jason,
> >
> > I am trying to install SAGE on your mac OS X machine, but meet some link
> > errors when compiling mpfi: the mpfr library can not be linked to.
> > Do you have met such a problem ?

-- 
Jason Worth Martin
Asst. Prof. of Mathematics
James Madison University
http://www.math.jmu.edu/~martin
phone: (+1) 540-568-5101
fax: (+1) 540-568-6857

"Ever my heart rises as we draw near the mountains.
There is good rock here." -- Gimli, son of Gloin

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to