On 17 November 2010 16:35, Jean-Pierre Flori <jpfl...@gmail.com> wrote:
> Hi,
>
> I unpacked Sage 4.5.1 binaries on Solaris, but when I try to launch
> Sage, it complains about missing libgfortran:
>
> ImportError: ld.so.1: python: fatal: libgfortran.so.3: open failed: No
> such file or directory
>
> I searched a bit and found something which looks related here:
> http://trac.sagemath.org/sage_trac/ticket/8049
> However it does not seem that the library is shipped with Sage.
> Should I ask the admin to install it on the system ?
> I found nothing in the documentation mentionning it is required.
>
> Thanks in advance.

Basically Solaris does not ship with a new enough version of gcc - in
fact, the gcc it ships with does not even have Fotran support at all.
So somehow you need to get the libraries that Sage uses, which
includes the Fotran library libgfortran.so.

 But you can get it several ways.

If you have a recent gcc that is built with Fortran support, it will
have a file libgfortran.so. You can copy or link that file to
$AGE_ROOT/local/lib/libgfortran.so, where SAGE_ROOT is the directory
where you installed Sage.

You could also trying add the installation directory of gcc to
LD_LIBRARY_PATH - something like

LD_LIBRARY_PATH=/usr/local/gcc-4.5/lib

One other option, which might be easiest for you, is if we make
available a set of the gcc libraries used to build Sage. I think that
might be a good idea. I can't do that just now, but can do it within
24 hours or so.

I'm just about to go out to the London OpenSolaris User Group (LOSUG),
so don't have time to make any binaries now!!! But I can do it soon.

Let me know how you get on.

The binaries for Solaris are a few months old.  We can make some newer
ones available, but that might take a bit more time. Getting your Sage
working should not take long. You don't need the help of your system
admin, but it might help if we make the libraries available, which we
can do under the terms of the LGPL which covers the libraries built by
GCC.

Dave

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

Reply via email to