Carlo Tambuatco
2010-Jul-03 12:54 UTC
[R-sig-Fedora] [R] Failure to load X11 module in Fedora 13.
I've googled around the archives for R-help and R-sig Fedora and found that a lot of people have had the same errors I've gotten when starting up the X11() module: Error in X11() : X11 module cannot be loaded In addition: Warning message: In X11() : unable to load shared library '/usr/lib/R/modules//R_X11.so': /usr/lib/libfontconfig.so.1: undefined symbol: FT_Select_Size But I have come across zero answers to this fundamental problem. (At least none that make sense to a newbie user like me.) This is after a fresh install of R on Fedora 13 via Yum. I checked and /usr/lib/R/modules/R_X11.so indeed exists. But R somehow doesn't care and fails to load it. So, what did anyone do to resolve this issue? Here's my sessionInfo(): R version 2.11.1 (2010-05-31) i386-redhat-linux-gnu locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base
Marc Schwartz
2010-Jul-03 15:46 UTC
[R-sig-Fedora] [R] Failure to load X11 module in Fedora 13.
On Jul 3, 2010, at 7:54 AM, Carlo Tambuatco wrote:> I've googled around the archives for R-help and R-sig Fedora and found > that a lot of people have had the same errors I've gotten when > starting up the X11() module: > > Error in X11() : X11 module cannot be loaded > In addition: Warning message: > In X11() : unable to load shared library '/usr/lib/R/modules//R_X11.so': > /usr/lib/libfontconfig.so.1: undefined symbol: FT_Select_Size > > But I have come across zero answers to this fundamental problem. (At > least none that make sense to a newbie user like me.) > > This is after a fresh install of R on Fedora 13 via Yum. > > I checked and /usr/lib/R/modules/R_X11.so indeed exists. But R somehow > doesn't care and fails to load it. > > So, what did anyone do to resolve this issue? > > Here's my sessionInfo(): > > R version 2.11.1 (2010-05-31) > i386-redhat-linux-gnu > > locale: > [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C > [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 > [5] LC_MONETARY=C LC_MESSAGES=en_US.UTF-8 > [7] LC_PAPER=en_US.UTF-8 LC_NAME=C > [9] LC_ADDRESS=C LC_TELEPHONE=C > [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods baseCarlo, What is the output of: ldd /usr/lib/libfontconfig.so.1 and ldd /usr/lib/R/modules/R_X11.so I noted the double forward slash in your output above for the second module, which is a bit confusing, but I don't think that should affect anything. This is something that should work "out of the box". That you are having a fundamental problem here with X11 begins to point in the direction of a packaging issue or a version conflict with the R RPMs on F13. Just in case, I am cc'ing Tom on this thread to solicit any comments that he might have. Also, just for the heck of it, that you are having problems both on Fedora and on OSX with display related things, please verify that these are two separate computers. You are not running some virtual machine (eg. VMWare, VirtualBox, Parallels) with Fedora and OSX running at the same time on the same computer? Marc