kleiweg@let.rug.nl
2002-Apr-30 14:14 UTC
[Rd] Undefined symbols in loading tcltk (PR#1499)
Non of these errors occured in earliers versions of R.> library(tcltk)/usr/lib/dld.sl: Unresolved symbol: Tcl_GetVar2Ex (code) from /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl /usr/lib/dld.sl: Unresolved symbol: Tcl_GetString (code) from /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl /usr/lib/dld.sl: Unresolved symbol: Tcl_SetVar2Ex (code) from /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl": can't open /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl Error in library(tcltk) : .First.lib failed # Tk's version number. TK_VERSION='8.0' TK_MAJOR_VERSION='8' TK_MINOR_VERSION='0' TK_PATCH_LEVEL='.5' Version: platform = hppa2.0-hp-hpux10.20 arch = hppa2.0 os = hpux10.20 system = hppa2.0, hpux10.20 status major = 1 minor = 5.0 year = 2002 month = 04 day = 29 language = R Search Path: .GlobalEnv, package:ctest, Autoloads, package:base =======================> library(tcltk)Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/usr/local/R/lib/R/library/tcltk/libs/tcltk.so": /usr/local/R/lib/R/library/tcltk/libs/tcltk.so: undefined symbol: Tcl_SetVar2Ex Error in library(tcltk) : .First.lib failed # Tk's version number. TK_VERSION='8.0' TK_MAJOR_VERSION='8' TK_MINOR_VERSION='0' Version: platform = i586-pc-linux-gnu arch = i586 os = linux-gnu system = i586, linux-gnu status major = 1 minor = 5.0 year = 2002 month = 04 day = 29 language = R Search Path: .GlobalEnv, package:ctest, Autoloads, package:base =======================> library(tcltk)Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/opt_local/opt/pk/lib/R/library/tcltk/libs/tcltk.so": /opt_local/opt/pk/lib/R/library/tcltk/libs/tcltk.so: undefined symbol: Tcl_SetVar2Ex Error in library(tcltk) : .First.lib failed # Tk's version number. TK_VERSION='8.0' TK_MAJOR_VERSION='8' TK_MINOR_VERSION='0' TK_PATCH_LEVEL='.5' Version: platform = alphaev6-unknown-linux-gnu arch = alphaev6 os = linux-gnu system = alphaev6, linux-gnu status major = 1 minor = 5.0 year = 2002 month = 04 day = 29 language = R Search Path: .GlobalEnv, package:ctest, Autoloads, package:base ======================= No errors on this platform: # Tk's version number. TK_VERSION='8.3' TK_MAJOR_VERSION='8' TK_MINOR_VERSION='3' TK_PATCH_LEVEL='.3' Version: platform = i686-pc-linux-gnu arch = i686 os = linux-gnu system = i686, linux-gnu status major = 1 minor = 5.0 year = 2002 month = 04 day = 29 language = R Search Path: .GlobalEnv, package:tcltk, package:ctest, Autoloads, package:base -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Peter Dalgaard BSA
2002-Apr-30 16:09 UTC
[Rd] Undefined symbols in loading tcltk (PR#1499)
kleiweg@let.rug.nl writes:> Non of these errors occured in earliers versions of R. > > > library(tcltk) > /usr/lib/dld.sl: Unresolved symbol: Tcl_GetVar2Ex (code) from /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl > /usr/lib/dld.sl: Unresolved symbol: Tcl_GetString (code) from /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl > /usr/lib/dld.sl: Unresolved symbol: Tcl_SetVar2Ex (code) from /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl > Error in dyn.load(x, as.logical(local), as.logical(now)) : > unable to load shared library "/opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl": > can't open /opt_local/opt/R/lib/R/library/tcltk/libs/tcltk.sl > Error in library(tcltk) : .First.lib failed > > # Tk's version number. > TK_VERSION='8.0' > TK_MAJOR_VERSION='8' > TK_MINOR_VERSION='0' > TK_PATCH_LEVEL='.5'...> =======================> > No errors on this platform: > > # Tk's version number. > TK_VERSION='8.3' > TK_MAJOR_VERSION='8' > TK_MINOR_VERSION='3' > TK_PATCH_LEVEL='.3'That's likely due to the time those functions got introduced in Tcl... I actually thought they were in Tcl8.x, but it seems necessary that x>= 1. The functions are used extensively, so an upgrade of Tcl/Tk issuggested. [Poking a bit around reveal that Tcl_SetVar2Ex was Tcl_SetVar2 in 8.0 and the Get versions similar, but I can't seem to locate anything about Tcl_GetString.] -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._