[R-SIG-Mac] RSPerl on OS X Server 10.4.11
gdowns at uoguelph.ca
Fri Feb 22 23:07:01 CET 2008
I'm having some trouble getting RSPerl working on an XServe cluster. Using:
R v2.6.2 (installed from binaries from CRAN)
OS X Server 10.4.11, PowerPC G5
I'm installing with:
R CMD INSTALL -c -l '/home/gdowns/R' --configure-args='--with-in-perl'
and I'm getting:
Error in dyn.load(file, ...) :
unable to load shared library '/home/gdowns/R/RSPerl/libs/ppc/RSPerl.so':
dlopen(/home/gdowns/R/RSPerl/libs/ppc/RSPerl.so, 6): Symbol not
Referenced from: /home/gdowns/R/RSPerl/libs/ppc/RSPerl.so
Expected in: dynamic lookup
Error: package/namespace load failed for 'RSPerl'
I tried building R from scratch, using:
./configure --prefix=/tmp/R/ --enable-R-shlib
(then repeated the install of RSPerl with this special version of R)
RSPerl *does* work with this version of R. I'm confused because
question 1.3 of the RMacOSX-FAQ says:
"Note that the CRAN binary includes R shared library, so there is no
need to re-compile R with --enable-R-shlib. "
I also note that when installing RSPerl with the binary distribution
of R, the R CMD INSTALL process does not generate the perl modules (in
the RSPerl/perl directory).
I'm not sure where I'm going wrong with this. I'd highly prefer to
stick with the pre-compiled binary to make upgrading easier. Plus I'm
sure that the version I built today is not as well optimized as the
If I really do need to compile R from scratch, can anyone recommend
the appropriate configure flags?
many thanks and best regards,
CRSC Room 219/414
Department of Plant Agriculture
University of Guelph
Guelph, Ontario, Canada, N1G 2W1
More information about the R-SIG-Mac