Hello there, I just changed to FreeBSD platform, and want to install R on it. I use FreeBSD 5.0 and install nearly all packages on the machine. When I use ports to install R, (cd /usr/ports/math/R-letter, and then type make) I got the following error information. ../../../../library/methods/libs/methods.so is unchanged dumping R code in package 'methods' Fatal error: The X11 shared library could not be loaded. The error was /usr/ports/math/R-letter/work/R-1.6.0/modules/R_X11.so: Undefined symbol "R_GlobalEnv" Can somebody tell me why and how to fix this problem? Thank you for your help! Best wishes, Peng ******************************* Peng Zhang Department of Biostatistics Harvard School of Public Health 655 Huntington Avenue Boston, Massachusetts 02115 ******************************* I believe I can fly I believe I can touch the sky
I've been using R on FreeBSD for several years now so I can tell you it works fine. However I have not yet upgraded to FreeBSD 5.0 so perhaps it has something to do with the new version. Here's something you may want to try: Rather than using the old version of R from the FreeBSD ports collection, download the latest R source directly from CRAN then try to ./configure && make && make install it. I've found that R obeys the FreeBSD 'hier' and the sources on CRAN are always more up to date than the compliled FreeBSD packages or ports. Loren On Sat, 8 Feb 2003, Peng Zhang wrote:> Hello there, > > I just changed to FreeBSD platform, and want to install R on it. I use > FreeBSD 5.0 and install nearly all packages on the machine. When I use > ports to install R, (cd /usr/ports/math/R-letter, and then type make) I > got the following error information. > ../../../../library/methods/libs/methods.so is unchanged > dumping R code in package 'methods' > Fatal error: The X11 shared library could not be loaded. > The error was /usr/ports/math/R-letter/work/R-1.6.0/modules/R_X11.so: > Undefined symbol "R_GlobalEnv" > Can somebody tell me why and how to fix this problem? > > Thank you for your help! > > Best wishes, > Peng > > ******************************* > Peng Zhang > Department of Biostatistics > Harvard School of Public Health > 655 Huntington Avenue > Boston, Massachusetts 02115 > ******************************* > > I believe I can fly > I believe I can touch the sky > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > stat.math.ethz.ch/mailman/listinfo/r-help >
Hi,> I just changed to FreeBSD platform, and want to install R on it. I use > FreeBSD 5.0 and install nearly all packages on the machine. When I use > ports to install R, (cd /usr/ports/math/R-letter, and then type make) I > got the following error information. > ../../../../library/methods/libs/methods.so is unchanged > dumping R code in package 'methods' > Fatal error: The X11 shared library could not be loaded. > The error was /usr/ports/math/R-letter/work/R-1.6.0/modules/R_X11.so: > Undefined symbol "R_GlobalEnv"I encountered the same problem. My quick solution is: $ ./configure $ make (fails) $ cd src/main $ rm R.bin $ edit Makefile (uncomment the line 81: "R_bin_LDFLAGS = -export-dynamic") $ make $ cd ../.. $ make Hope this helps. Shingo Ichii Graduate School of Mathematical Sciences, University of Tokyo