On Dec 16, 1:31 pm, C <ctoph...@gmail.com> wrote:
> > what exactly did you set those env variables to? What is the content
> > of the directories, i.e. the exact name of libgfortran?

Hi Chris,

this thread dropped off my radar, but now I remembered to answer it :)

> I set
>
> SAGE_FORTRAN=/usr/bin/gfortran
>
> and
>
> SAGE_FORTRAN_LIB=/usr/lib/gcc/powerpc-linux.gnu/4.3/libgfortran.so

Hmm, is that a symbolic link?

> Contents are as follows:
>
> $ ls /usr/bin | grep fortran
> gfortran
> gfortran-4.3
> powerpc-linux-gnu-gfortran
> powerpc-linux-gnu-gfortran-4.3
>
> $ ls /usr/lib/gcc/powerpc-linux-gnu/4.3/ | grep fortran
> libgfortran.a
> libgfortranbegin.a
> libgfortran.so
>
> > Is there any
> > dangling link in $SAGE_ROOT/local/lib related to any Fortran runtime
> > lib?
>
> Yes, I believe that $SAGE_ROOT/local/lib/libgfortran.so is a dangling
> link:
>
> /local/lib$ readlink libgfortran.so
> /usr/bin/../lib/libgfortran.so.1
>
> I don't know what the ".." refers to in the output of readlink but if
> I do
>
> $ cd /usr/bin/../lib/
>
> I end up in /usr/lib/ which does not contain a file called
> libgfortran.so.1:
>
> $ ls /usr/lib/ |grep fort
> libgfortran.so.3
> libgfortran.so.3.0.0
>
> So, do I need to fix this link or remove it all together?  Thanks
> again for your help.

Delete the link, copy libgfortran.so.3 and libgfortran.so.3.0.0
manually into SAGE_LOCAL/lib and restart the ATLAS build. If that
doesn't fix it I will take a deep look at your logs.

> best,
> Chris

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