[BioC] problem: /usr/local/lib64/R/library/tcltk/libs/tcltk.so: undefined symbol: Tcl_DoOneEvent

Sonia Leach sonia.leach at gmail.com
Tue Jun 15 21:51:26 CEST 2010


Hello,

I was wondering if anyone can help me with a problem trying to use
library(tcltk) - I'm getting an error

"error: unable to load shared library
'/usr/local/lib64/R/library/tcltk/libs/tcltk.so'
 /usr/local/lib64/R/library/tcltk/libs/tcltk.so: undefined symbol:
Tcl_DoOneEvent"

I installed R version 2.11.1 on a 64 bit version of CentOS

[sml at localhost ~]$ uname -a
Linux localhost.localdomain 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14
EST 2009 x86_64 x86_64 x86_64 GNU/Linux

and after yum install tcltk-devel, I used the R configure flags to
include tcltk (64 bit version):

./configure --with-tcltk --with-tcl-config=/usr/lib64/tclConfig.sh
--with-tcl-config=/usr/lib64/tkConfig.sh

And you can see that tcltk is TRUE within R using capabilities() below.

[sml at localhost ~]$ R

R version 2.11.1 (2010-05-31)
Copyright (C) 2010 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

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.

> capabilities()
   jpeg      png     tiff    tcltk      X11     aqua http/ftp  sockets
  FALSE    FALSE    FALSE     TRUE     TRUE    FALSE     TRUE     TRUE
 libxml     fifo   cledit    iconv      NLS  profmem    cairo
   TRUE     TRUE     TRUE     TRUE     TRUE    FALSE    FALSE
> library(tcltk)
Loading Tcl/Tk interface ... Error : .onLoad failed in loadNamespace()
for 'tcltk', details:
 call: dyn.load(file, DLLpath = DLLpath, ...)
 error: unable to load shared library
'/usr/local/lib64/R/library/tcltk/libs/tcltk.so':
 /usr/local/lib64/R/library/tcltk/libs/tcltk.so: undefined symbol:
Tcl_DoOneEvent
Error: package/namespace load failed for 'tcltk'
>
>


To be certain, I checked whether the tcltk.so library existed and where it was

[root at localhost /]# find . -name tcltk.so -print
./usr/local/lib64/R/library/tcltk/libs/tcltk.so
./home/sml/Installed/R-2.11.1/src/library/tcltk/src/tcltk.so
./home/sml/Installed/R-2.11.1/library/tcltk/libs/tcltk.so
[root at localhost /]#

Any advice would be appreciated.

Sonia



More information about the Bioconductor mailing list