This is a system problem: you are missing the dynamic libg2c.so and so cannot build usable Fortran shared libraries.
I no longer have access to such an old system (one using gcc 3.4.x), but from memory this was in an RPM named libf2c-* Please consult your sysadmins. On Fri, 18 May 2007, Ev Whin wrote: > Hi, > While I was trying to build R 2.5.0 src on > Red Hat Enterprise Linux ES release 4 (Nahant Update 4) > Kernel 2.6.9-42.ELsmp on an x86_64 > The following errors occurred: > > gcc -std=gnu99 -shared -L/usr/local/lib64 -o lapack.so Lapack.o > -L../../../lib -lRlapack -L../../../lib -lRblas -lg2c -lm -lgcc_s > > /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libg2c.a(s_cat.o): > relocation R_X86_64_32 against `a local symbol' can not be used when making > a shared object; recompile with -fPIC > > /usr/lib/gcc/x86_64-redhat-linux/3.4.6/libg2c.a: could not read symbols: Bad > value > > collect2: ld returned 1 exit status > > make[4]: *** [lapack.so] Error 1 > > make[4]: Leaving directory `/home/ljiao/R-2.5.0/Build/src/modules/lapack' > > make[3]: *** [R] Error 2 > > make[3]: Leaving directory `/home/ljiao/R-2.5.0/Build/src/modules/lapack' > > make[2]: *** [R] Error 1 > > make[2]: Leaving directory `/home/ljiao/R-2.5.0/Build/src/modules' > > make[1]: *** [R] Error 1 > > make[1]: Leaving directory `/home/ljiao/R-2.5.0/Build/src' > > make: *** [R] Error 1 > Is this a bug of GCC? > See also https://rhn.redhat.com/errata/RHBA-2006-0509.html > What can I do to proceed? > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel