Harald Schilly wrote: > On Jan 26, 4:07 am, SQ <[email protected]> wrote: > > error: Command "sage_fortran ... > > Were your SAGE_FORTRAN & SAGE_FORTRAN_LIB environment variables set > prior to starting sage compile? If yes, which version of gfortran do > you have installed on RHEL/CentOS 5.x x86_64? > > H
Thanks for your reply. No, those variables were not set. So, I started from scratch, untar- ed the source again and set them to /usr/bin/gfortran and /usr/lib/gcc/ x86_64-redhat-linux/4.1.1/libgfortran.so respectfully. The error is the same: sage_fortran -Wall -shared -Wall -shared -shared build/temp.linux- x86_64-2.6/scipy/integrate/_quadpackmodule.o -Lbuild/temp.linux- x86_64-2.6 -lquadpack -llinpack_lite -lmach -lgfortran -o build/ lib.linux-x86_64-2.6/scipy/integrate/_quadpack.so /usr/bin/ld: build/temp.linux-x86_64-2.6/libmach.a(d1mach.o): relocation R_X86_64_32 against `d9mach_' can not be used when making a shared object; recompile with -fPIC build/temp.linux-x86_64-2.6/libmach.a: could not read symbols: Bad value collect2: ld returned 1 exit status /usr/bin/ld: build/temp.linux-x86_64-2.6/libmach.a(d1mach.o): relocation R_X86_64_32 against `d9mach_' can not be used when making a shared object; recompile with -fPIC build/temp.linux-x86_64-2.6/libmach.a: could not read symbols: Bad value gfortran --version returns 4.1.2, which is the native CentOS 5.4 version. Any other clues greatly appreciated. Cheers, SQ -- 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 URL: http://www.sagemath.org
