As it says, your ATLAS library has not compiled for use in a shared
object.
This is discussed in the R-admin manual which you were asked to read (in
the INSTALL file) if you have any problems.
You don't even tell us what Linux distro this is. Try configuring with
--without-blas.
On Wed, 3 May 2006, Shinhan Shiu wrote:
> I am trying to install R-2.3.0 on a 64bit linux box and encounter
> several error during the make step. I'd appreciate any help. Error
> messages follow:
>
> [root at calculon R-2.3.0]# make
> make[4]: Entering directory
> `/state/partition1/apps/packages/R-2.3.0/src/modules/lapack'
> gcc -shared -L/usr/local/lib64 -o libRlapack.so dlamc.o dlapack0.o
> dlapack1.o dlapack2.o dlapack3.o cmplx.o -lf77blas -latlas -lg2c -lm
-lgcc_s
> /usr/bin/ld:
>
/usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../lib64/libf77blas.a(xerbla.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.4/../../../../lib64/libf77blas.a:
> could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[4]: *** [libRlapack.so] Error 1
> make[4]: Leaving directory
> `/state/partition1/apps/packages/R-2.3.0/src/modules/lapack'
> make[3]: *** [R] Error 2
> make[3]: Leaving directory
> `/state/partition1/apps/packages/R-2.3.0/src/modules/lapack'
> make[2]: *** [R] Error 1
> make[2]: Leaving directory
> `/state/partition1/apps/packages/R-2.3.0/src/modules'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory
`/state/partition1/apps/packages/R-2.3.0/src'
> make: *** [R] Error 1
>
> [root at calculon R-2.3.0]# make check FORCE=FORCE
> make[1]: Entering directory
`/state/partition1/apps/packages/R-2.3.0/tests'
> make[2]: Entering directory
`/state/partition1/apps/packages/R-2.3.0/tests'
> make[3]: Entering directory
> `/state/partition1/apps/packages/R-2.3.0/tests/Examples'
> make[4]: Entering directory
> `/state/partition1/apps/packages/R-2.3.0/tests/Examples'
> make[4]: `Makedeps' is up to date.
> make[4]: Leaving directory
> `/state/partition1/apps/packages/R-2.3.0/tests/Examples'
> make[4]: Entering directory
> `/state/partition1/apps/packages/R-2.3.0/tests/Examples'
> whereami? at ../../tools/Rdnewer.pl line 26.
> make[4]: *** No rule to make target `../../src/library/base/all.R',
> needed by `base-Ex.Rout'. Stop.
> make[4]: Leaving directory
> `/state/partition1/apps/packages/R-2.3.0/tests/Examples'
> make[3]: *** [test-Examples-Base] Error 2
> make[3]: Leaving directory
> `/state/partition1/apps/packages/R-2.3.0/tests/Examples'
> make[2]: *** [test-Examples] Error 2
> make[2]: Leaving directory
`/state/partition1/apps/packages/R-2.3.0/tests'
> make[1]: *** [test-all-basics] Error 1
> make[1]: Leaving directory
`/state/partition1/apps/packages/R-2.3.0/tests'
> make: *** [check] Error 2
>
>
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
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