Dear R gurus, I attempt to install the latest version of R from source on my MacBook Pro, using latest versions of Xcode and gfortran for Lion and configure options:
./configure --with-libintl-prefix=/sw --enable-R-shlib (this last option necessary to further install the Rpy Python package) I got the following unreduced compilation error: gcc -std=gnu99 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/sw/lib -L/usr/local/lib -o tools.so text.o init.o Rmd5.o md5.o signals.o -L../../../../lib -lR -dylib_file libRblas.dylib:../../../../lib/libRblas.dylib -lintl -Wl,-framework -Wl,CoreFoundation make[6]: `Makedeps' is up to date. mkdir ../../../../library/tools/libs Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so': dlopen(/Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so, 6): Symbol not found: _libintl_dgettext Referenced from: /Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so Expected in: /Users/marquett/Downloads/R-2.14.0/lib/libR.dylib in /Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so Error: impossible de charger le code R depuis le package ‘tools’ Execution halted make[3]: *** [all] Error 1 make[2]: *** [R] Error 1 make[1]: *** [R] Error 1 make: *** [R] Error 1 However the binary file matches the unresolved symbol: grep _libintl_dgettext /Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so Binary file /Users/marquett/Downloads/R-2.14.0/library/tools/libs/tools.so matches Any help welcome. Cheers Jean-Baptiste ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.