[R-sig-Fedora] [R] Failure to load X11 module in Fedora 13.

Carlo Tambuatco oraclmaster at gmail.com
Tue Jul 6 21:01:59 CEST 2010


On 07/06/2010 08:51 AM, Tom "spot" Callaway wrote:
> On 07/04/2010 02:30 PM, Carlo Tambuatco wrote:
>    
>> On 07/04/2010 12:27 PM, Marc Schwartz wrote:
>>      
>>> On Jul 3, 2010, at 4:24 PM, Carlo Tambuatco wrote:
>>>
>>>
>>>        
>>>> On 07/03/2010 11:46 AM, Marc Schwartz wrote:
>>>>
>>>>          
>>>>> 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
>>>>>>              
> So, I can't reproduce this at all on Fedora 13:
> == i386 (KVM instance) ==
> [spot at f13 ~]$ rpm -q R-core
> R-core-2.11.1-1.fc13.i686
>
> [spot at f13 ~]$ R
>
> R version 2.11.1 (2010-05-31)
> Copyright (C) 2010 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
>    Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
>    
>> X11()
>>
>>      
> == x86_64 (my laptop) ==
> [spot at pterodactyl ~]$ rpm -q R-core
> R-core-2.11.1-1.fc13.x86_64
> [spot at pterodactyl ~]$ R
>
> R version 2.11.1 (2010-05-31)
> Copyright (C) 2010 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
>    Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
>    
>> X11()
>>
>>      
> I confirmed that FT_Select_size is a valid symbol in freetype (on both
> arches):
>
> [spot at f13 ~]$ eu-readelf -s /usr/lib/libfreetype.so.6 |grep FT_Select_Size
>    223: 009b6930    128 FUNC    GLOBAL DEFAULT       11 FT_Select_Size
>
> [spot at pterodactyl ~]$ eu-readelf -s /usr/lib64/libfreetype.so.6 |grep
> FT_Select_Size
>    224: 000000000000dc70    108 FUNC    GLOBAL DEFAULT       11
> FT_Select_Size
>
> Do you have any libraries in /usr/local/lib? Did you add any paths to
> /etc/ld.so.conf ? I suspect you have an old copy of freetype floating
> around somewhere. It looks like it is not uncommon for third party
> applications (VMWare, VirtualBox) to shove an old freetype library onto
> the system.
>
>    
> ~spot
>    

This is what ls revealed about my /usr/local/lib directory:

total 4344
drwxr-xr-x. 3 root root    4096 Jun 19 17:04 blender
drwxr-xr-x. 2 root root    4096 Jun 15 17:15 codecs
-rw-r--r--. 1 root root   94132 Jun 15 17:04 libdvdcss.a
-rwxr-xr-x. 1 root root     822 Jun 15 17:04 libdvdcss.la
lrwxrwxrwx. 1 root root      18 Jun 15 17:04 libdvdcss.so -> 
libdvdcss.so.2.1.0
lrwxrwxrwx. 1 root root      18 Jun 15 17:04 libdvdcss.so.2 -> 
libdvdcss.so.2.1.0
-rwxr-xr-x. 1 root root   74687 Jun 15 17:04 libdvdcss.so.2.1.0
-rw-r--r--. 1 root root 2486916 Jun 19 06:29 libfreetype.a
-rwxr-xr-x. 1 root root     824 Jun 19 06:29 libfreetype.la
lrwxrwxrwx. 1 root root      20 Jun 19 06:29 libfreetype.so -> 
libfreetype.so.6.3.8
lrwxrwxrwx. 1 root root      20 Jun 19 06:29 libfreetype.so.6 -> 
libfreetype.so.6.3.8
-rwxr-xr-x. 1 root root 1765321 Jun 19 06:29 libfreetype.so.6.3.8
drwxr-xr-x. 2 root root    4096 Jun 19 06:29 pkgconfig



More information about the R-SIG-Fedora mailing list