FS#9115 - Impossible to use update.packages() from R (with solution)

Attached to Project: Arch Linux
Opened by Bernhard (dw) - Monday, 07 January 2008, 09:22 GMT
Last edited by Damir Perisa (damir.perisa) - Thursday, 08 May 2008, 13:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Damir Perisa (damir.perisa)
Architecture i686
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I did a clean install of R (pacman -S r) with testing repo enabled. When I tried to update the packages using update.packages() I got the following error messages:

> update.packages()
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... Error in dyn.load(file, ...) :
kann shared library '/usr/lib/R/library/tcltk/libs/tcltk.so' nicht laden:
libtk8.4.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
Fehler: .onLoad in 'loadNamespace' für 'tcltk' fehlgeschlagen

Solution:
Create a symlink:
ln -s /usr/lib/libtk8.5.so /usr/lib/libtk8.4.so

Additional info:
* package version(s)
r (2.6.0-1)

Bernhard
This task depends upon

Closed by  Damir Perisa (damir.perisa)
Thursday, 08 May 2008, 13:32 GMT
Reason for closing:  Fixed
Comment by Roman Kyrylych (Romashka) - Tuesday, 08 January 2008, 10:57 GMT
that's a standard solution for .so-bumped packages.
the real solution is just to rebuild the r package against newest tcl/tk and put it to testing as well.
Comment by eliott (cactus) - Thursday, 08 May 2008, 06:43 GMT
Was this fixed?
Comment by Bernhard (dw) - Thursday, 08 May 2008, 12:54 GMT
yes.

Loading...