Package: python-rpy2
Version: 2.1.0~20100314-1
Severity: normal
Tags: squeeze

Hi,
On a fresh install of python-rpy2 from Squeeze, the R shared library
is not found:

Python 2.5.5 (r255:77872, Feb  2 2010, 00:25:36)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpy2.robjects as ro
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/rpy2/robjects/__init__.py",
line 12, in <module>
    import rpy2.rinterface as rinterface
  File "/usr/lib/python2.5/site-packages/rpy2/rinterface/__init__.py",
line 75, in <module>
    from rpy2.rinterface.rinterface import *
ImportError: libR.so: cannot open shared object file: No such file or directory

To work around this problem, I had to feed ldconfig with the
/usr/lib64/R/lib path by creating a file R-x86_64.conf in /etc/ld.so.conf.d.

-- Emmanuel



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to