On Jun 25, 1:03 am, Miron <[EMAIL PROTECTED]> wrote:
> Hello,
Hi Miron,
> I have successfully built SAGE on a number of systems but I am having
> problems with
> building it on DELL Precision-5400 running new 64-bit SLES 10 SP2.
>
> Unpacking "sage-3.0.3-suse-linux64bit-x86_64-Linux.tar.gz" and
> running 'make' produces lots of messages:
>
> You must set the SAGE_ROOT environment variable or run this
> script from the
> SAGE_ROOT or SAGE_ROOT/local/bin/ directory.
>
> and following this instruction doesn't help.
>
> Attempts to run sage from the command line fail with error:
>
> ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9'
> not found
> (required by /usr/local/sage_3.0.3/local/lib/libntl-5.4.2.so)
>
> which seems correct because examining /usr/lib64/libstdc++.so.6 with
> objdump finds only older versions. The same problem occurs with libstdc
> ++.so.6 taken from folder extra_files on SAGE distribution site.
What kind of binary did you install?
> Building SAGE from source terminates during creation of libgmp.la:
> ...
> g++ -shared -nostdlib /usr/lib64/gcc/x86_64-suse-linux/
> 4.1.2/../../../../lib/crti.o /usr/lib64/gcc/x86_64-suse-linux/4.1.2/32/
> crtbeginS.o .libs/dummy.o cxx/.libs/isfuns.o cxx/.libs/ismpf.o
> cxx/.libs/ismpq.o cxx/.libs/ismpz.o cxx/.libs/ismpznw.o cxx/.libs/
> osdoprnti.o cxx/.libs/osfuns.o cxx/.libs/osmpf.o cxx/.libs/osmpq.o
> cxx/.libs/osmpz.o -Wl,--rpath -Wl,/data1/stage/sage/sage-3.0.3/spkg/
> build/gmp-4.2.2/src/.libs -Wl,--rpath -Wl,/usr/lib64/gcc/x86_64-suse-
> linux/4.1.2 -Wl,--rpath -Wl,/data1/stage/sage/sage-3.0.3/local/lib -
> Wl,--rpath -Wl,/usr/lib64/gcc/x86_64-suse-linux/4.1.2 ./.libs/
> libgmp.so -L/data1/stage/sage/sage-3.0.3/local/lib/../lib -L/usr/lib64/
> gcc/x86_64-suse-linux/4.1.2/32 -L/usr/lib64/gcc/x86_64-suse-linux/
> 4.1.2/../../../../x86_64-suse-linux/lib/../lib -L/usr/lib64/gcc/x86_64-
> suse-linux/4.1.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/
> data1/stage/sage/sage-3.0.3/local/lib -L/usr/lib64/gcc/x86_64-suse-
> linux/4.1.2 -L/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../
> x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/
> 4.1.2/../../.. /usr/lib64/gcc/x86_64-suse-linux/4.1.2/libstdc++.so -lm
> -lc -lgcc_s /usr/lib64/gcc/x86_64-suse-linux/4.1.2/32/crtendS.o /usr/
> lib64/gcc/x86_64-suse-linux/4.1.2/../../../../lib/crtn.o -m32 -
> mtune=pentium3 -march=pentium3 -Wl,-soname -Wl,libgmpxx.so.4 -o .libs/
> libgmpxx.so.4.0.2
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/libstdc++.so: could not read
> symbols: File in wrong format
> collect2: ld returned 1 exit status
>
> I wonder if someone had more luck then me. Any advice appreciated.
It is a known problem and it will hopefully be fixed in Sage 3.0.4.
See
http://trac.sagemath.org/sage_trac/ticket/3508
> Regards,
>
> miron.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---