> what exactly did you set those env variables to? What is the content
> of the directories, i.e. the exact name of libgfortran?

I set

SAGE_FORTRAN=/usr/bin/gfortran

and

SAGE_FORTRAN_LIB=/usr/lib/gcc/powerpc-linux.gnu/4.3/libgfortran.so

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.

best,
Chris



--~--~---------~--~----~------------~-------~--~----~
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